Closed hegerdes closed 2 months ago
Awesome! Thanks @hegerdes.
Your values failed for me, the env
is not properly defined and causes a YAML parser error. This works:
env:
HCLOUD_TOKEN_FILE:
value: /var/run/secrets/hcloud/token
Awesome! Thanks @hegerdes.
Your values failed for me, the
env
is not properly defined and causes a YAML parser error. This works:env: HCLOUD_TOKEN_FILE: value: /var/run/secrets/hcloud/token
Thanks, I fixed the error, updated the example and rebased from main.
I tested now with helm upgrade --install ccm chart --values chart/my-values.yaml
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.81%. Comparing base (
a299730
) to head (a6a5af7
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What changed
This adds the ability to set
extraVolumes
andextraVolumeMounts
via helm to the pod. It can be used to mount extra files, to persist files inside the container or to allow usage of the CSI Secret Driver.It does not introduce user facing changes since the default for both is an empty array, so no volumes or volumeMounts are created when not explicitly set.
Fixed #743
Testing
The change can be previewed with the following command:
helm template chart -s templates/deployment.yaml --values chart/my-values.yaml --debug
Testing can be done with the same file just with
helm install
. Thehcloud-token
must exist before deployment