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

@@ -24,6 +24,15 @@ prometheusOperator:
certManager:
enabled: true
# CRDs: Argo CD applies chart CRDs with client-side apply → **last-applied-configuration** can exceed 256KiB.
# **`crds.upgradeJob`** runs a pre-sync Helm hook that applies CRDs with **`kubectl apply --server-side`**.
# Pair with **`helm.skipCrds: true`** on the Argo Application so Argo does not patch those CRDs itself.
# Ref: https://github.com/argoproj/argo-cd/issues/11269
crds:
upgradeJob:
enabled: true
forceConflicts: true
# --- Longhorn-backed persistence (default chart storage is emptyDir) ---
alertmanager:
alertmanagerSpec: