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

[cnpg] cluster resource out of sync #898

Closed
phac008 opened this issue Dec 6, 2024 · 3 comments
Closed

[cnpg] cluster resource out of sync #898

phac008 opened this issue Dec 6, 2024 · 3 comments
Labels
area:portal Related to portal brick bug Something isn't working

Comments

@phac008
Copy link
Contributor

phac008 commented Dec 6, 2024

missing:
pg_hba: []
pg_ident: []

cloudnative-pg/charts#426

@phac008 phac008 added bug Something isn't working area:portal Related to portal brick labels Dec 6, 2024
@jkleinlercher
Copy link
Contributor

I implemented this workaround in a customers argocd values file:

      resource.customizations.ignoreDifferences.postgresql.cnpg.io_Cluster: |
        jqPathExpressions:
          - '.spec.postgresql.pg_hba'
          - '.spec.postgresql.pg_ident'

@jkleinlercher
Copy link
Contributor

I needed to implement it also here https://github.com/kubriX-demo/kubriX-demo-prime-dt/pull/12

@jkleinlercher
Copy link
Contributor

I implemented this workaround in a customers argocd values file:

      resource.customizations.ignoreDifferences.postgresql.cnpg.io_Cluster: |
        jqPathExpressions:
          - '.spec.postgresql.pg_hba'
          - '.spec.postgresql.pg_ident'

This workaround fixed the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:portal Related to portal brick bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants