You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatic generation of Postgres secret does not play well with any tool that only uses helm template, e.g. Argo CD.
To reproduce:
Create an Argo CD application with the chart
Sync the application, creating it
Note the value of password in the postgres-secret secret
Sync the application again
Remove the app pod
Observe that the pod is being restarted
Note the value of password in the postgres-secret secret again
Expected: the pod successfully restarts, the two noted values are the same
Actual result: the pod fails to restart with the error about incorrect password; the two noted values are different.
Mitigations:
Do not use automatic secret generation in this situation
Copy secret values to a new secret and manually switch to using it
Sync the application without automatic secret generation immediately after creation. This will keep the secret, but always mark it as out of sync
The automatic generation of Postgres secret does not play well with any tool that only uses
helm template
, e.g. Argo CD.To reproduce:
postgres-secret
secretpostgres-secret
secret againExpected: the pod successfully restarts, the two noted values are the same
Actual result: the pod fails to restart with the error about incorrect password; the two noted values are different.
Mitigations:
Probably the same happens for the generated internal keys.
The text was updated successfully, but these errors were encountered: