Closed switj closed 4 years ago
Thanks for the suggestion. We can add that. However, I am curious why You have config before running “helm install” command. Did you create the secret manually?
There are two workflows that this would enable.
I created my own chart that has this chart as a requirement so that I'm able to override the values. I'm using helm template --name <release-name> .
to generate the yaml then kapp
to manage the deployment.
which would look something like this:
kapp deploy --app label:managed-by-kapp=${RELEASE_NAME}-${APP} \
--namespace ${NAMESPACE} \
--diff-changes --diff-context 4 \
--wait=false --apply-default-update-strategy fallback-on-replace \
--file <( helm template --name $RELEASE_NAME . )
Thanks, Josh. That makes sense. I have checked in a fix. Now you should be able to set "secret.enabled" to false to disable secret creation.
changes look good, I'll try it out when the next release is out.
Currently the chart always creates the secret and there is no way to disable it.
having a
secret.enabled
option would be very useful.