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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user