Closed paveq closed 2 years ago
Shouldn't the $ in {{ template "dex.fullname" $ }} rather be a . (dot)? This line can also be written as: {{ default (template "dex.fullname" .) $envSecretName }}
I did not actually change that part of the original line, that is still working as before my commit.
I don't have enough knowledge of Helm templating to really comment if something should be changed here or not, in my testing how it is currently did work.
I'll take a look at this soon, just out for holidays at the moment! :)
In some (most? )cases it is preferable to manage secret outside of the chart, via eg. sealedSecrets. This PR implements feature to use custom secret name.