Files
Homelabv4/argocd-apps/infrastructure/cnpg.yaml
T
Scooby HuskyandClaude Opus 4.6 0ac21eae47 Add ServerSideDiff=true to all Application CRDs
Apps using ServerSideApply without ServerSideDiff causes ArgoCD to
compute diffs client-side, which detects controller-added fields
(finalizers, defaults, annotations) as changes and keeps apps
permanently OutOfSync. ServerSideDiff uses dry-run SSA for accurate
diff computation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 07:03:01 -05:00

27 lines
608 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "12"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: infrastructure
source:
repoURL: https://cloudnative-pg.github.io/charts
chart: cloudnative-pg
targetRevision: "*"
destination:
server: https://kubernetes.default.svc
namespace: cnpg-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- ServerSideDiff=true