Update Argo CD configuration to improve handling of managed fields and enhance compatibility with server-side apply, ensuring smoother deployments and conflict resolution.

This commit is contained in:
Nikholas Pcenicni
2026-05-13 17:23:54 -04:00
parent 91b32407f8
commit b26099342c
2 changed files with 12 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ spec:
chart: kube-prometheus-stack
targetRevision: 82.15.1
helm:
skipCrds: true
releaseName: kube-prometheus
valueFiles:
- $values/clusters/noble/bootstrap/kube-prometheus-stack/values.yaml
@@ -23,8 +24,8 @@ spec:
server: https://kubernetes.default.svc
namespace: monitoring
# Manual sync: Ansible helm runs first; enable automation after cutover (see ../README.md §5).
# ServerSideApply: kube-prometheus-stack CRDs exceed the 256KiB **last-applied-configuration** limit
# when applied client-side (Argo/kubectl); SSA avoids that annotation.
# ServerSideApply: helps large manifests Argo applies directly (CRDs are handled via **helm.skipCrds** +
# chart **crds.upgradeJob** server-side apply — see values.yaml).
syncPolicy:
syncOptions:
- CreateNamespace=true