Closed jmesnil closed 2 years ago
This is not a bug in the helm chart.
It turns out the issue was in the quote used to mount the secret: “/etc/config/my-secret”
does not work while "/etc/config/my-secret"
(or simply /etc/config/my-secret
) does work
Describe the bug A clear and concise description of what the bug is.
It should be possible to mount a volume by configuring the
deploy.volumes
anddeploy.volumeMounts
fields. However, thedeploy.volumes
is not put in the proper place in theDeployment
template and is effectively ignored.To Reproduce Steps to reproduce the behavior:
kubectl create secret generic my-secret --from-literal=foo=bar
Expected behavior
The secret should be mounted in
/etc/config/my-secret
and the commandcat /etc/config/my-secret/foo
should displaybar
Instead, the
/etc/config/my-secret
directory does not exist.$ helm version
) 2.0.0