@@ -143,6 +143,7 @@ argo-cd:
143
143
fullnameOverride : argo-cd
144
144
crds :
145
145
install : true
146
+
146
147
configs :
147
148
cm :
148
149
timeout.reconciliation : 20s
@@ -151,6 +152,7 @@ argo-cd:
151
152
params :
152
153
server.insecure : true
153
154
application.namespaces : ' cf-*'
155
+
154
156
eventReporter :
155
157
# -- Installs new event reporter component to cluster
156
158
enabled : true
@@ -160,63 +162,12 @@ argo-cd:
160
162
# Possible values: v1, v2.
161
163
# For v2 `argo-cd.eventReporter.enabled=true` is required
162
164
version : v2
165
+
163
166
applicationVersioning :
164
167
# -- Enable application versioning
165
168
enabled : true
166
169
# -- Extract application version based on ApplicationConfiguration CRD
167
170
useApplicationConfiguration : true
168
- notifications :
169
- enabled : true
170
-
171
- bots :
172
- slack : {}
173
-
174
- notifiers :
175
- service.webhook.cf-promotion-app-revision-changed-notifier : |
176
- url: http://gitops-operator:8082/app-revision-changed
177
- headers:
178
- - name: Content-Type
179
- value: application/json
180
-
181
- subscriptions :
182
- - triggers :
183
- - cf-promotion-on-deployed-trigger
184
- recipients :
185
- - cf-promotion-app-revision-changed-notifier
186
- - triggers :
187
- - cf-promotion-on-out-of-sync-trigger
188
- recipients :
189
- - cf-promotion-app-revision-changed-notifier
190
-
191
- templates :
192
- template.cf-promotion-app-revision-changed-template : |
193
- webhook:
194
- cf-promotion-app-revision-changed-notifier:
195
- method: POST
196
- body: |
197
- {
198
- "APP_NAMESPACE": {{ .app.metadata.namespace | quote }},
199
- "APP_NAME": {{ .app.metadata.name | quote }},
200
- "REPO_URL": {{ call .repo.RepoURLToHTTPS .app.spec.source.repoURL | quote }},
201
- "BRANCH": {{ .app.spec.source.targetRevision | quote }},
202
- "PATH": {{ .app.spec.source.path | quote }},
203
- "PREV_COMMIT_SHA": {{ (index .app.status.history (sub (len .app.status.history) 2)).revision | quote }},
204
- "CURRENT_COMMIT_SHA": {{ .app.status.operationState.syncResult.revision | quote }}
205
- }
206
-
207
- triggers :
208
- trigger.cf-promotion-on-deployed-trigger : |
209
- - description: Application is synced and healthy. Triggered once per commit.
210
- when: get(app.spec.syncPolicy, "automated") != nil && app.status.sync.status == "Synced" && app.status.health.status == "Healthy" && app.status.operationState.syncResult.revision != nil
211
- oncePer: app.status.operationState.syncResult.revision
212
- send:
213
- - cf-promotion-app-revision-changed-template
214
- trigger.cf-promotion-on-out-of-sync-trigger : |
215
- - description: Application is out of sync (when autoHeal is off). Triggered once per commit.
216
- when: get(app.spec.syncPolicy, "automated") == nil && app.status.sync.status == "OutOfSync" && app.status.operationState.syncResult.revision != nil
217
- oncePer: app.status.operationState.syncResult.revision
218
- send:
219
- - cf-promotion-app-revision-changed-template
220
171
221
172
# -----------------------------------------------------------------------------------------------------------------------
222
173
# Argo Events
@@ -675,6 +626,7 @@ gitops-operator:
675
626
requests :
676
627
cpu : 100m
677
628
memory : 64Mi
629
+
678
630
# -- Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC)
679
631
garage-workflows-artifact-storage :
680
632
fullnameOverride : garage
0 commit comments