Skip to content

Commit 0c70679

Browse files
Merge branch 'main' of github.com:codefresh-io/gitops-runtime-helm into CR-22965-argocd-2.10
# Conflicts: # charts/gitops-runtime/Chart.yaml # charts/gitops-runtime/README.md # charts/gitops-runtime/values.yaml
2 parents e526efe + 45aa5c2 commit 0c70679

File tree

3 files changed

+22
-24
lines changed

3 files changed

+22
-24
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 0.1.44
2+
appVersion: 0.1.46
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
55
version: 0.6.0
@@ -18,8 +18,6 @@ annotations:
1818
description: "update argo-cd 5.55.0-1-cap-2.10-2024.3.29-1dcc54e29"
1919
- kind: changed
2020
description: "update cap-app-proxy to 1.2749.0"
21-
- kind: added
22-
description: "Add PDB templates for internal-router and app-proxy"
2321
dependencies:
2422
- name: argo-cd
2523
repository: https://codefresh-io.github.io/argo-helm

charts/gitops-runtime/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Codefresh gitops runtime
2-
![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: 0.1.44](https://img.shields.io/badge/AppVersion-0.1.44-informational?style=flat-square)
2+
![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat-square) ![AppVersion: 0.1.45](https://img.shields.io/badge/AppVersion-0.1.45-informational?style=flat-square)
33

44
## Prerequisites
55

@@ -27,7 +27,7 @@ We have created a helper utility to resolve this issue:
2727
The utility is packaged in a container image. Below are instructions on executing the utility using Docker:
2828

2929
```
30-
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.6.0 <local_registry>
30+
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.5.3 <local_registry>
3131
```
3232
`output_dir` - is a local directory where the utility will output files. <br>
3333
`local_registry` - is your local registry where you want to mirror the images to
@@ -158,14 +158,14 @@ sealed-secrets:
158158
| argo-cd.fullnameOverride | string | `"argo-cd"` | |
159159
| argo-cd.notifications.bots.slack | object | `{}` | |
160160
| argo-cd.notifications.enabled | bool | `true` | |
161-
| argo-cd.notifications.notifiers."service.webhook.app-revision-changed-notifier" | string | `"url: http://gitops-operator:8082/app-revision-changed\nheaders:\n- name: Content-Type\n value: application/json\n"` | |
162-
| argo-cd.notifications.subscriptions[0].recipients[0] | string | `"app-revision-changed-notifier"` | |
163-
| argo-cd.notifications.subscriptions[0].triggers[0] | string | `"on-deployed-trigger"` | |
164-
| argo-cd.notifications.subscriptions[1].recipients[0] | string | `"app-revision-changed-notifier"` | |
165-
| argo-cd.notifications.subscriptions[1].triggers[0] | string | `"on-out-of-sync-trigger"` | |
166-
| argo-cd.notifications.templates."template.app-revision-changed-template" | string | `"webhook:\n app-revision-changed-notifier:\n method: POST\n body: |\n {\n \"APP_NAMESPACE\": {{ .app.metadata.namespace | quote }},\n \"APP_NAME\": {{ .app.metadata.name | quote }},\n \"REPO_URL\": {{ call .repo.RepoURLToHTTPS .app.spec.source.repoURL | quote }},\n \"BRANCH\": {{ .app.spec.source.targetRevision | quote }},\n \"PATH\": {{ .app.spec.source.path | quote }},\n \"PREV_COMMIT_SHA\": {{ (index .app.status.history (sub (len .app.status.history) 2)).revision | quote }},\n \"CURRENT_COMMIT_SHA\": {{ .app.status.operationState.syncResult.revision | quote }}\n }\n"` | |
167-
| argo-cd.notifications.triggers."trigger.on-deployed-trigger" | string | `"- description: Application is synced and healthy. Triggered once per commit.\n when: get(app.spec.syncPolicy, \"automated\") != nil && app.status.sync.status == \"Synced\" && app.status.health.status == \"Healthy\" && app.status.operationState.syncResult.revision != nil\n oncePer: app.status.operationState.syncResult.revision\n send:\n - app-revision-changed-template\n"` | |
168-
| argo-cd.notifications.triggers."trigger.on-out-of-sync-trigger" | string | `"- description: Application is out of sync (when autoHeal is off). Triggered once per commit.\n when: get(app.spec.syncPolicy, \"automated\") == nil && app.status.sync.status == \"OutOfSync\" && app.status.operationState.syncResult.revision != nil\n oncePer: app.status.operationState.syncResult.revision\n send:\n - app-revision-changed-template\n"` | |
161+
| argo-cd.notifications.notifiers."service.webhook.cf-promotion-app-revision-changed-notifier" | string | `"url: http://gitops-operator:8082/app-revision-changed\nheaders:\n- name: Content-Type\n value: application/json\n"` | |
162+
| argo-cd.notifications.subscriptions[0].recipients[0] | string | `"cf-promotion-app-revision-changed-notifier"` | |
163+
| argo-cd.notifications.subscriptions[0].triggers[0] | string | `"cf-promotion-on-deployed-trigger"` | |
164+
| argo-cd.notifications.subscriptions[1].recipients[0] | string | `"cf-promotion-app-revision-changed-notifier"` | |
165+
| argo-cd.notifications.subscriptions[1].triggers[0] | string | `"cf-promotion-on-out-of-sync-trigger"` | |
166+
| argo-cd.notifications.templates."template.cf-promotion-app-revision-changed-template" | string | `"webhook:\n cf-promotion-app-revision-changed-notifier:\n method: POST\n body: |\n {\n \"APP_NAMESPACE\": {{ .app.metadata.namespace | quote }},\n \"APP_NAME\": {{ .app.metadata.name | quote }},\n \"REPO_URL\": {{ call .repo.RepoURLToHTTPS .app.spec.source.repoURL | quote }},\n \"BRANCH\": {{ .app.spec.source.targetRevision | quote }},\n \"PATH\": {{ .app.spec.source.path | quote }},\n \"PREV_COMMIT_SHA\": {{ (index .app.status.history (sub (len .app.status.history) 2)).revision | quote }},\n \"CURRENT_COMMIT_SHA\": {{ .app.status.operationState.syncResult.revision | quote }}\n }\n"` | |
167+
| argo-cd.notifications.triggers."trigger.cf-promotion-on-deployed-trigger" | string | `"- description: Application is synced and healthy. Triggered once per commit.\n when: get(app.spec.syncPolicy, \"automated\") != nil && app.status.sync.status == \"Synced\" && app.status.health.status == \"Healthy\" && app.status.operationState.syncResult.revision != nil\n oncePer: app.status.operationState.syncResult.revision\n send:\n - cf-promotion-app-revision-changed-template\n"` | |
168+
| argo-cd.notifications.triggers."trigger.cf-promotion-on-out-of-sync-trigger" | string | `"- description: Application is out of sync (when autoHeal is off). Triggered once per commit.\n when: get(app.spec.syncPolicy, \"automated\") == nil && app.status.sync.status == \"OutOfSync\" && app.status.operationState.syncResult.revision != nil\n oncePer: app.status.operationState.syncResult.revision\n send:\n - cf-promotion-app-revision-changed-template\n"` | |
169169
| argo-events.crds.install | bool | `false` | |
170170
| argo-events.fullnameOverride | string | `"argo-events"` | |
171171
| argo-rollouts.controller.replicas | int | `1` | |

charts/gitops-runtime/values.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -170,26 +170,26 @@ argo-cd:
170170
slack: {}
171171

172172
notifiers:
173-
service.webhook.app-revision-changed-notifier: |
173+
service.webhook.cf-promotion-app-revision-changed-notifier: |
174174
url: http://gitops-operator:8082/app-revision-changed
175175
headers:
176176
- name: Content-Type
177177
value: application/json
178178
179179
subscriptions:
180180
- triggers:
181-
- on-deployed-trigger
181+
- cf-promotion-on-deployed-trigger
182182
recipients:
183-
- app-revision-changed-notifier
183+
- cf-promotion-app-revision-changed-notifier
184184
- triggers:
185-
- on-out-of-sync-trigger
185+
- cf-promotion-on-out-of-sync-trigger
186186
recipients:
187-
- app-revision-changed-notifier
187+
- cf-promotion-app-revision-changed-notifier
188188

189189
templates:
190-
template.app-revision-changed-template: |
190+
template.cf-promotion-app-revision-changed-template: |
191191
webhook:
192-
app-revision-changed-notifier:
192+
cf-promotion-app-revision-changed-notifier:
193193
method: POST
194194
body: |
195195
{
@@ -203,18 +203,18 @@ argo-cd:
203203
}
204204
205205
triggers:
206-
trigger.on-deployed-trigger: |
206+
trigger.cf-promotion-on-deployed-trigger: |
207207
- description: Application is synced and healthy. Triggered once per commit.
208208
when: get(app.spec.syncPolicy, "automated") != nil && app.status.sync.status == "Synced" && app.status.health.status == "Healthy" && app.status.operationState.syncResult.revision != nil
209209
oncePer: app.status.operationState.syncResult.revision
210210
send:
211-
- app-revision-changed-template
212-
trigger.on-out-of-sync-trigger: |
211+
- cf-promotion-app-revision-changed-template
212+
trigger.cf-promotion-on-out-of-sync-trigger: |
213213
- description: Application is out of sync (when autoHeal is off). Triggered once per commit.
214214
when: get(app.spec.syncPolicy, "automated") == nil && app.status.sync.status == "OutOfSync" && app.status.operationState.syncResult.revision != nil
215215
oncePer: app.status.operationState.syncResult.revision
216216
send:
217-
- app-revision-changed-template
217+
- cf-promotion-app-revision-changed-template
218218
219219
220220
#-----------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)