Disable pre-upgrade job in Longhorn values.yaml to prevent failures during Argo CD syncs when Longhorn is already healthy, ensuring cleaner deployments.
This commit is contained in:
@@ -29,6 +29,9 @@ ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
|
||||
# Pre-upgrade Job: keep enabled for normal Helm upgrades (disable only if GitOps sync fights the Job).
|
||||
# Pre-upgrade Job disabled: Argo CD triggers this hook on every sync, and when Longhorn is already
|
||||
# healthy the job still fails under Argo (hook lifecycle differs from `helm upgrade`).
|
||||
# For a real chart version bump, temporarily set jobEnabled: true, run via Ansible helm upgrade, then
|
||||
# set it back to false so Argo syncs stay clean.
|
||||
preUpgradeChecker:
|
||||
jobEnabled: true
|
||||
jobEnabled: false
|
||||
|
||||
Reference in New Issue
Block a user