-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secret value not referenced if upstream chart doesn't use tpl
function
#103
Comments
Seems this is a problem with Helm in general - helm/helm#6876 I found a workaround: in the secrets file you have to precisely repeat the structure of the With postgresql:
postgresqlPassword: !vault secrets/superset#postgresPassword I was able to get it working. This is very inconvenient and will probably not work with lists, but I guess the plugin developers shouldn't be the ones trying to fix such issues. |
Thats correct. I guess thats the only way no matter if you are using plugins or not. A better workaround:
Try to fix there dependency charts by doing pull requests ;-) |
It is not feasible to fix every single upstream chart by replacing every reference to a user variable with a |
Take a look at https://github.com/variantdev/vals, It may helps. |
In a use-case where I have my
secrets.yaml
like thisand then I am trying to deploy superset chart and in my values I set
for the dependency chart, the generated secret is
which corresponds literally to
{{ .Values.postgresPassword }}
. This is because the dependency chart doesn't usetpl
to refer to this value and of course I can't control it. Same issue exists for the superset chart itself. Where the chart templates refer to values viatpl
function, the value from secret is correctly rendered.I am using the following command to check:
Am I just doing something wrong or is this an issue with the plugin?
The text was updated successfully, but these errors were encountered: