feat: add shared bins volume for uv and cobbler-enc
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user