Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argo CD regenerates the secrets, breaking the app #4

Open
ilyannn opened this issue Jan 6, 2024 · 0 comments
Open

Argo CD regenerates the secrets, breaking the app #4

ilyannn opened this issue Jan 6, 2024 · 0 comments
Labels
bug Something isn't working Secret Management Component: secret management for bundled Postgres

Comments

@ilyannn
Copy link
Owner

ilyannn commented Jan 6, 2024

The automatic generation of Postgres secret does not play well with any tool that only uses helm template, e.g. Argo CD.

To reproduce:

  1. Create an Argo CD application with the chart
  2. Sync the application, creating it
  3. Note the value of password in the postgres-secret secret
  4. Sync the application again
  5. Remove the app pod
  6. Observe that the pod is being restarted
  7. 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:

Probably the same happens for the generated internal keys.

@ilyannn ilyannn added bug Something isn't working Secret Management Component: secret management for bundled Postgres labels Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Secret Management Component: secret management for bundled Postgres
Projects
None yet
Development

No branches or pull requests

1 participant