fyi, using the latest chart for the cloud pricing ...
# general
w
fyi, using the latest chart for the cloud pricing api. i get an error when supplying a secret as the postgresql password. error is
Error: couldn't find key postgresql-postgres-password in Secret mynamespace/infracost-postgresql
so i added
postgresql-postgres-password
as a key and removed
postgresql-password
. then the error changes to:
Error: couldn't find key postgresql-password in Secret atlantis/infracost-postgresql
then i added
postgresql-password
as another key in the same secret, and the error disappeared. so my secret now looks like the attached:
cc: @little-author-61621
l
hmm
postgresql-password
is what we use. I know the bitnami chart we use uses
postgresql-postgres-password
as well as
postgresql-password
for setting the admin (postgres user) password which it looks like it’s requiring if a secret is passed and the username is not “postgres”.
I’m not sure if there’s a way we can get round requiring both, but will have a look. If not, then I think we just need to document it better.
w
👍