Skip to content

Commit 71148fa

Browse files
authored
Merge pull request #1242 from rackerlabs/update-argo-server-side
fix(argocd): disable ServerSideApply for OpenStack Helm Apps
2 parents 463845a + 5b7239a commit 71148fa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

apps/appsets/appset-understack-openstack.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ spec:
7878
metadata:
7979
name: '{{.name}}-{{.component}}'
8080
# we should never set the finalizer here as the applicationsSync policy will handle it
81-
annotations:
82-
argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
8381
spec:
8482
project: understack
8583
sources:
@@ -121,9 +119,10 @@ spec:
121119
# sync should be run if a change is detected in the resource objects
122120
selfHeal: true
123121
syncOptions:
124-
# Use the server side apply behavior of kubernetes for resources, we've got the
125-
# compare option set above to support this.
126-
- ServerSideApply=true
122+
# We cannot use server side apply due to needing to use force=true on the
123+
# OpenStack Helm jobs. ArgoCD has made force=true on hooks not compatible
124+
# with server side apply.
125+
- ServerSideApply=false
127126
# Resources might have mutated fields and we want to allow those to be set without
128127
# ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
129128
# uses this feature.

0 commit comments

Comments
 (0)