Closed anorm closed 2 years ago
Have you change secret using stringData
or data
? stringData
is "write only" so changes are not visible in diff. If you switch do data
everything should work as expected. Important thing is that using data
you need to encode values via base 64: password: {{ "foo" | b64enc }}
Oops, forgot to answer. Yes, this was indeed the problem. Thank you :-)
If changes are made to a release which results in a kubernetes secret being changed,
helmfile diff
doesn't see the change causinghelmfile apply
to do nothing.Running
helmfile apply --show-secrets --suppress-secrets
makes helmfile act as expected, upgrading the release without outputting the secret value to stdout.I expected that:
helmfile apply
would detect the changed secret and upgrade the release regardless of the--show-secrets
and--suppress-secrets
flags--show-secrets
and--suppress-secrets
flags would not affect the behavior ofhelmfile
other than changing what is printed to stdoutVersions