https://pulumi.com logo
#kubernetes
Title
# kubernetes
p

proud-pizza-80589

04/24/2021, 8:06 AM
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

billowy-army-68599

04/24/2021, 6:19 PM
I have only seen this with tls secrets, is it other secrets too?
p

proud-pizza-80589

04/25/2021, 3:51 PM
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

worried-city-86458

06/16/2021, 5:57 AM
@billowy-army-68599 I'm hitting this with aws load balancer controller tls secret. Is there a fix / workaround?
4 Views