Deploying helm charts with secrets always recreate...
# kubernetes
p
Deploying helm charts with secrets always recreate the secret, even if the data is not changed. Is there any way to prevent it from doing so? I used “protect: true” on such a chart and lost all update capabilities 🙂
b
I have only seen this with tls secrets, is it other secrets too?
p
did some digging, it appears two of our charts use randAlphaNum which causes the pwd to always change https://github.com/bitnami/charts/blob/master/bitnami/mongodb/templates/secrets.yaml#L27
but we set the pwd from the values, so it should be always the same. (and it is when using it) Maybe the if’s confuse the “changed” algo?
w
@billowy-army-68599 I'm hitting this with aws load balancer controller tls secret. Is there a fix / workaround?