fix(argo-cd): Added missing envFrom for notifications-controller (#1512)

Signed-off-by: bakala <Sebastian.Bakala@tomtom.com>
main argo-cd-5.5.12
Sebastian Bąkała 2022-10-07 12:52:18 +02:00 committed by GitHub
parent c041c74464
commit fb7b59e481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.4.14
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.5.11
version: 5.5.12
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -22,4 +22,5 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Changed]: Updated example PrometheusRule expression for missing apps"
- "[Added]: Added `envFrom` field to the notifications-controller."
- "[Changed]: Templating the `env` field in the same way as in the argocd-server."

View File

@ -953,6 +953,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| notifications.enabled | bool | `true` | Enable Notifications controller |
| notifications.extraArgs | list | `[]` | Extra arguments to provide to the controller |
| notifications.extraEnv | list | `[]` | Additional container environment variables |
| notifications.extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the controller |
| notifications.extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
| notifications.extraVolumes | list | `[]` | List of extra volumes to add |
| notifications.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the notifications controller |

View File

@ -60,7 +60,12 @@ spec:
securityContext: {{- toYaml .Values.notifications.containerSecurityContext | nindent 12 }}
{{- end }}
{{- with .Values.notifications.extraEnv }}
env: {{ toYaml . | nindent 12 }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.notifications.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: tls-certs

View File

@ -2269,6 +2269,14 @@ notifications:
# -- Additional container environment variables
extraEnv: []
# -- envFrom to pass to the controller
# @default -- `[]` (See [values.yaml])
extraEnvFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# -- List of extra mounts to add (normally used with extraVolumes)
extraVolumeMounts: []
# - mountPath: /tmp/foobar