-
Notifications
You must be signed in to change notification settings - Fork 95
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
ArgoCD is forever stuck on updating the Cluster resource generated by the cluster chart #426
Comments
We can wrap them in a |
We also are running into this issue when using Added this to our
Thanks to @cterence for a better idea, adding below to our fleet deployment for the application also temporarily solves the issue
|
Adding this - group: postgresql.cnpg.io
kind: Cluster
jqPathExpressions:
- .spec.postgresql.pg_hba
- .spec.postgresql.pg_ident |
I submitted a PR for this, which fixes |
I'm using the following ArgoCD application:
This generates a
Cluster
resource withpg_hba: []
andpg_ident: []
:ArgoCD continuously retries updating this
Cluster
resource, but the final result lacks thepg_hba
andpg_ident
keys. I suspect it's because they are empty lists.Perhaps the code here could benefit from some
if
statements that excludepg_hba
andpg_ident
if they would end up being empty?charts/charts/cluster/templates/cluster.yaml
Lines 63 to 66 in 3c5dd5d
This only became an issue with version 0.1.0 of the cluster chart. Downgrading to 0.0.11 (which does not have these
pg_hba
andpg_ident
keys) fixes the problem.Seems like
pg_hba
got introduced in #321 whilepg_ident
got introduced in #377The text was updated successfully, but these errors were encountered: