feat: add shared bins volume for uv and cobbler-enc
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

- Add puppet-shared-bins PVC (10GB) for shared binaries
- Mount /opt/bin in both compiler and master deployments
- Add init container to install uv binary and cobbler script to shared volume
- Update cobbler-enc to use absolute path and uv cache directory
- Configure puppet.conf to reference cobbler-enc from /opt/bin
This commit is contained in:
2026-03-20 21:53:35 +11:00
parent c1ea6e1e81
commit 6cefbdf910
5 changed files with 59 additions and 7 deletions
@@ -93,6 +93,8 @@ spec:
- mountPath: /var/lib/puppet/keys/
name: eyaml-keys
readOnly: true
- mountPath: /opt/bin/
name: puppet-shared-bins
initContainers:
- args:
- mkdir -p /etc/puppetlabs/puppet/eyaml/keys;
@@ -163,3 +165,6 @@ spec:
secret:
secretName: eyaml-keys
defaultMode: 0600
- name: puppet-shared-bins
persistentVolumeClaim:
claimName: puppet-shared-bins