mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
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>
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: cilium
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
finalizers:
|
|
- 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
|
|
targetRevision: 1.17.1
|
|
helm:
|
|
valueFiles:
|
|
- $values/infrastructure/cilium/values.yaml
|
|
- repoURL: https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
|
|
targetRevision: main
|
|
ref: values
|
|
- repoURL: https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
|
|
targetRevision: main
|
|
path: infrastructure/cilium/manifests
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: kube-system
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
- ServerSideDiff=true
|
|
- RespectIgnoreDifferences=true
|