refactor: convert puppetserver compilers to deployment with configmap integration (#57)
- Convert StatefulSet to Deployment for better scaling flexibility - Add initContainer to copy configmaps to shared RWX volume (10GB) - Integrate puppetserver-compiler-config configmap for environment variables - Configure configMapGenerator with stable names (disableNameSuffixHash) - Update HPA to target Deployment instead of StatefulSet - Simplify puppetboard SSL config to skip verification for internal connections Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
@@ -31,4 +31,26 @@ resources:
|
||||
- service_puppetca.yaml
|
||||
- service_puppetboard.yaml
|
||||
- service_puppetdb.yaml
|
||||
- statefulset_puppetserver-compiler.yaml
|
||||
- deployment_puppetserver-compiler.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: compiler-autosign.conf
|
||||
files:
|
||||
- resources/compiler/autosign.conf
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
- name: compiler-puppet.conf
|
||||
files:
|
||||
- resources/compiler/puppet.conf
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
- name: compiler-puppetdb.conf
|
||||
files:
|
||||
- resources/compiler/puppetdb.conf
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
- name: puppet-cobbler-enc
|
||||
files:
|
||||
- resources/cobbler-enc
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
Reference in New Issue
Block a user