File tree Expand file tree Collapse file tree 5 files changed +54
-0
lines changed Expand file tree Collapse file tree 5 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 75
75
automated :
76
76
selfHeal : true
77
77
syncOptions :
78
+ # Create the namespace we are using if it doesn't already exist.
78
79
- CreateNamespace=true
80
+ # Use the server side apply behavior of kubernetes for resources, we've got the
81
+ # compare option set above to support this.
79
82
- ServerSideApply=true
83
+ # Resources might have mutated fields and we want to allow those to be set without
84
+ # ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
85
+ # uses this feature.
80
86
- RespectIgnoreDifferences=true
87
+ # Enable selective sync so that resources that have a difference are applied
88
+ # instead of always applying all resources. This prevents us from always
89
+ # running jobs.
90
+ # https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync
91
+ - ApplyOutOfSyncOnly=true
81
92
managedNamespaceMetadata :
82
93
annotations :
83
94
# ArgoCD can create our namespace but let's not delete it
Original file line number Diff line number Diff line change 76
76
automated :
77
77
selfHeal : true
78
78
syncOptions :
79
+ # Create the namespace we are using if it doesn't already exist.
79
80
- CreateNamespace=true
81
+ # Use the server side apply behavior of kubernetes for resources, we've got the
82
+ # compare option set above to support this.
80
83
- ServerSideApply=true
84
+ # Resources might have mutated fields and we want to allow those to be set without
85
+ # ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
86
+ # uses this feature.
81
87
- RespectIgnoreDifferences=true
88
+ # Enable selective sync so that resources that have a difference are applied
89
+ # instead of always applying all resources. This prevents us from always
90
+ # running jobs.
91
+ # https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync
92
+ - ApplyOutOfSyncOnly=true
82
93
managedNamespaceMetadata :
83
94
annotations :
84
95
# ArgoCD can create our namespace but let's not delete it
Original file line number Diff line number Diff line change @@ -104,8 +104,18 @@ spec:
104
104
automated :
105
105
selfHeal : true
106
106
syncOptions :
107
+ # Use the server side apply behavior of kubernetes for resources, we've got the
108
+ # compare option set above to support this.
107
109
- ServerSideApply=true
110
+ # Resources might have mutated fields and we want to allow those to be set without
111
+ # ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
112
+ # uses this feature.
108
113
- RespectIgnoreDifferences=true
114
+ # Enable selective sync so that resources that have a difference are applied
115
+ # instead of always applying all resources. This prevents us from always
116
+ # running DB migrations and messing with keystone users and endpoints.
117
+ # https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync
118
+ - ApplyOutOfSyncOnly=true
109
119
templatePatch : |
110
120
spec:
111
121
ignoreDifferences: {{ dig "ignoreDifferences" list . | toJson }}
Original file line number Diff line number Diff line change 76
76
automated :
77
77
selfHeal : true
78
78
syncOptions :
79
+ # Create the namespace we are using if it doesn't already exist.
79
80
- CreateNamespace=true
81
+ # Use the server side apply behavior of kubernetes for resources, we've got the
82
+ # compare option set above to support this.
80
83
- ServerSideApply=true
84
+ # Resources might have mutated fields and we want to allow those to be set without
85
+ # ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
86
+ # uses this feature.
81
87
- RespectIgnoreDifferences=true
88
+ # Enable selective sync so that resources that have a difference are applied
89
+ # instead of always applying all resources. This prevents us from always
90
+ # running jobs.
91
+ # https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync
92
+ - ApplyOutOfSyncOnly=true
82
93
managedNamespaceMetadata :
83
94
annotations :
84
95
# ArgoCD can create our namespace but let's not delete it
Original file line number Diff line number Diff line change 75
75
automated :
76
76
selfHeal : true
77
77
syncOptions :
78
+ # Create the namespace we are using if it doesn't already exist.
78
79
- CreateNamespace=true
80
+ # Use the server side apply behavior of kubernetes for resources, we've got the
81
+ # compare option set above to support this.
79
82
- ServerSideApply=true
83
+ # Resources might have mutated fields and we want to allow those to be set without
84
+ # ArgoCD coming back and smacking them back. The ignoreDifferences templatePatch
85
+ # uses this feature.
80
86
- RespectIgnoreDifferences=true
87
+ # Enable selective sync so that resources that have a difference are applied
88
+ # instead of always applying all resources. This prevents us from always
89
+ # running jobs.
90
+ # https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync
91
+ - ApplyOutOfSyncOnly=true
81
92
managedNamespaceMetadata :
82
93
annotations :
83
94
# ArgoCD can create our namespace but let's not delete it
You can’t perform that action at this time.
0 commit comments