mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
Fix ArgoCD ServerSideDiff permanent OutOfSync diffs
Add explicit CRD/API defaults to manifests that were causing ArgoCD's SSA dry-run to produce results different from live state: - HTTPRoutes: add group, kind, weight defaults to parentRefs/backendRefs - Kyverno ClusterPolicies: add skipBackgroundRequests, allowExistingViolations - Tetragon TracingPolicies: add return, maxData, resolve, returnCopy defaults - Gateway certificateRefs: add group="" default - Guacamole Gateway: add group="" to certificateRefs Add ignoreDifferences for resources that legitimately differ: - Cilium cert Secrets (auto-generated, data always differs) - Istio ValidatingWebhookConfiguration failurePolicy (istiod mutates) - Crowdsec LAPI Secrets (randomly generated) - ServiceMonitor/PodMonitor relabeling action defaults - StatefulSet volumeClaimTemplates apiVersion/kind defaults Persist argocd-cm ignoreDifferences config in ArgoCD Helm values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4270309224
commit
131cbca4a6
@@ -9,6 +9,26 @@ metadata:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infrastructure
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: cilium-ca
|
||||
jsonPointers:
|
||||
- /data
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: hubble-relay-client-certs
|
||||
jsonPointers:
|
||||
- /data
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: hubble-server-certs
|
||||
jsonPointers:
|
||||
- /data
|
||||
- group: monitoring.coreos.com
|
||||
kind: ServiceMonitor
|
||||
jqPathExpressions:
|
||||
- .spec.endpoints[].relabelings[].action
|
||||
sources:
|
||||
- repoURL: https://helm.cilium.io
|
||||
chart: cilium
|
||||
|
||||
@@ -9,6 +9,12 @@ metadata:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infrastructure
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: crowdsec-lapi-secrets
|
||||
jsonPointers:
|
||||
- /data
|
||||
sources:
|
||||
- repoURL: https://crowdsecurity.github.io/helm-charts
|
||||
chart: crowdsec
|
||||
|
||||
@@ -9,6 +9,11 @@ metadata:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infrastructure
|
||||
ignoreDifferences:
|
||||
- group: admissionregistration.k8s.io
|
||||
kind: ValidatingWebhookConfiguration
|
||||
jqPathExpressions:
|
||||
- .webhooks[].failurePolicy
|
||||
source:
|
||||
repoURL: https://istio-release.storage.googleapis.com/charts
|
||||
chart: base
|
||||
|
||||
@@ -9,6 +9,11 @@ metadata:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infrastructure
|
||||
ignoreDifferences:
|
||||
- group: admissionregistration.k8s.io
|
||||
kind: ValidatingWebhookConfiguration
|
||||
jqPathExpressions:
|
||||
- .webhooks[].failurePolicy
|
||||
sources:
|
||||
- repoURL: https://istio-release.storage.googleapis.com/charts
|
||||
chart: istiod
|
||||
|
||||
Reference in New Issue
Block a user