Hello there, I have a weird issue with a chart, I’...
# kubernetes
f
Hello there, I have a weird issue with a chart, I’m using https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha, everything works fine so far, but each time I
pulumi up
a
Secret
created by the chart (namely the
pgpool
one) keeps getting replaced each time for a
~data
diff reason. Anyone would know the reason and how to make it permanent please ? (Never had this issue with any other chart I use)
b
hi! I think this is because we use
helm template
to render these charts, and the chart generates a random string on each `helm template`: https://github.com/bitnami/charts/blob/f105cbc56a2fdec2f9a7ff5bbaa08e94934663ba/bitnami/postgresql-ha/templates/_helpers.tpl#L320
I'd recommend using
pulumi-random
to generate a password and pass it to the helm chart, the value will still be random, but won't change on each diff/preview
f
But i’m actually setting all passwords values in the chart configuration, so it shouldn’t generate one, right ?
nevermind I just spot there was a typo somewhere in the
values
object.. sorry for the noise and thanks for your quick reply @billowy-army-68599
👍 1