2022-03-14 21:12:41 +00:00
|
|
|
{{ if .Values.notifications.secret.create }}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: argo-rollouts-notification-secret
|
2023-04-13 18:16:20 +00:00
|
|
|
namespace: {{ .Release.Namespace | quote }}
|
2024-06-22 10:11:25 +00:00
|
|
|
{{- with .Values.notifications.secret.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- range $key, $value := . }}
|
|
|
|
{{ $key }}: {{ $value | quote }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2022-03-14 21:12:41 +00:00
|
|
|
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 }}
|