feat: add shared bins volume for uv and cobbler-enc (#61)

- 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

Reviewed-on: #61
This commit was merged in pull request #61.
This commit is contained in:
2026-03-20 22:49:31 +11:00
parent c1ea6e1e81
commit f474c5c530
5 changed files with 59 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run --quiet --script
#!/usr/bin/env -S /opt/bin/uv run --quiet --cache-dir /opt/bin/.cache/uv --script
# /// script
# requires-python = ">=3.11"
# dependencies = ['pyyaml','requests']
@@ -13,7 +13,7 @@ environmentpath = /etc/puppetlabs/code/environments
[master]
node_terminus = exec
external_nodes = /etc/puppetlabs/puppet/cobbler-enc
external_nodes = /opt/bin/cobbler-enc
autosign = /etc/puppetlabs/puppet/autosign.conf
default_manifest = /etc/puppetlabs/code/environments/develop/manifests
default_environment = develop