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:
2026-03-20 20:47:36 +11:00
parent f25117ab7f
commit c2d23aaeae
9 changed files with 184 additions and 35 deletions
+23 -1
View File
@@ -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