Skip to content

Commit ea155a8

Browse files
authored
Merge pull request #73 from codefresh-io/CR-23481-cf-notifications-values
add .Values.codefresh.promotions.notifications overrides to argocd-notifications-cm
2 parents 0373193 + 377d0a0 commit ea155a8

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ output
44
.idea
55
**/*.tgz
66
**/charts/*/charts
7+
8+
# only ignore the values.yaml file at the root of the repo
9+
/values.yaml

charts/argo-cd/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v2.10-2024.3.29-1dcc54e29
33
kubeVersion: ">=1.23.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 6.7.18-cap-2.10-2024.3.29-1dcc54e29
6+
version: 6.7.18-1-cap-2.10-2024.3.29-1dcc54e29
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:

charts/argo-cd/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ NAME: my-release
611611
| apiVersionOverrides | object | `{}` | |
612612
| applicationVersioning.enabled | bool | `true` | enables the Codefresh application versioning feature |
613613
| applicationVersioning.useApplicationConfiguration | bool | `true` | use ApplicationConfiguration CRD to manage application versioning |
614+
| codefresh.promotions.notifications.context | object | `{}` | |
615+
| codefresh.promotions.notifications.notifigers | object | `{}` | |
616+
| codefresh.promotions.notifications.subscriptions | list | `[]` | |
617+
| codefresh.promotions.notifications.templates | object | `{}` | |
618+
| codefresh.promotions.notifications.triggers | object | `{}` | |
614619
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
615620
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
616621
| crds.install | bool | `true` | Install and upgrade CRDs |

charts/argo-cd/templates/argocd-configs/argocd-notifications-cm.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ metadata:
99
data:
1010
context: |
1111
argocdUrl: {{ .Values.notifications.argocdUrl | default (printf "https://%s" .Values.global.domain) }}
12-
{{- with .Values.notifications.context }}
12+
{{- with (merge .Values.notifications.context .Values.codefresh.promotions.notifications.context) }}
1313
{{- toYaml . | nindent 4 }}
1414
{{- end }}
15-
{{- with .Values.notifications.notifiers }}
15+
{{- with (merge .Values.notifications.notifiers .Values.codefresh.promotions.notifications.notifiers) }}
1616
{{- toYaml . | nindent 2 }}
1717
{{- end }}
18-
{{- with .Values.notifications.subscriptions }}
18+
{{- with (concat .Values.notifications.subscriptions .Values.codefresh.promotions.notifications.subscriptions) }}
1919
subscriptions: |
2020
{{- toYaml . | nindent 4 }}
2121
{{- end }}
22-
{{- with .Values.notifications.templates }}
22+
{{- with (merge .Values.notifications.templates .Values.codefresh.promotions.notifications.templates) }}
2323
{{- toYaml . | nindent 2 }}
2424
{{- end }}
25-
{{- with .Values.notifications.triggers }}
25+
{{- with (merge .Values.notifications.triggers .Values.codefresh.promotions.notifications.triggers) }}
2626
{{- toYaml . | nindent 2 }}
2727
{{- end }}
2828
{{- end }}

charts/argo-cd/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3821,3 +3821,12 @@ eventReporter:
38213821
enabled: false
38223822
# -- List of custom rules for the event reporter's ClusterRole resource
38233823
rules: []
3824+
3825+
codefresh:
3826+
promotions:
3827+
notifications:
3828+
context: {}
3829+
notifigers: {}
3830+
subscriptions: []
3831+
templates: {}
3832+
triggers: {}

0 commit comments

Comments
 (0)