* fixing the error on the argo rollouts controller needing the notifications configmap and rollout Signed-off-by: Ian Muge <ian.muge@ardoq.com> * bump chart version Signed-off-by: Ian Muge <ian.muge@ardoq.com> * updating changelog Signed-off-by: Ian Muge <ian.muge@ardoq.com> * fix structure to be simialr to argocd-notification as suggested Signed-off-by: Ian Muge <ian.muge@ardoq.com> * Bump Minor version as we are adding a new feature Signed-off-by: Ian Muge <ian.muge@ardoq.com> * Updated helm docs, all tests are green, locally Signed-off-by: Ian Muge <ian.muge@ardoq.com> * Apply changes from code review Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
14 lines
389 B
YAML
14 lines
389 B
YAML
{{ if .Values.notifications.secret.create }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: argo-rollouts-notification-secret
|
|
labels:
|
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
stringData:
|
|
{{- with .Values.notifications.secret.items }}
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|