mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sentry] Support existingSecret for smtp-password (#10385)
Signed-off-by: Jyrno Ader <jyrno42@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
056281c66d
commit
80d56393fe
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Sentry is a cross-platform crash reporting and aggregation platform.
|
||||
name: sentry
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: 9.0
|
||||
keywords:
|
||||
- debugging
|
||||
|
||||
@@ -91,7 +91,11 @@ spec:
|
||||
- name: SENTRY_EMAIL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.email.existingSecret }}
|
||||
name: {{ .Values.email.existingSecret }}
|
||||
{{- else }}
|
||||
name: {{ template "fullname" . }}
|
||||
{{- end }}
|
||||
key: smtp-password
|
||||
- name: SENTRY_EMAIL_USE_TLS
|
||||
value: {{ .Values.email.use_tls | quote }}
|
||||
|
||||
@@ -75,7 +75,11 @@ spec:
|
||||
- name: SENTRY_EMAIL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.email.existingSecret }}
|
||||
name: {{ .Values.email.existingSecret }}
|
||||
{{- else }}
|
||||
name: {{ template "fullname" . }}
|
||||
{{- end }}
|
||||
key: smtp-password
|
||||
- name: SENTRY_EMAIL_USE_TLS
|
||||
value: {{ .Values.email.use_tls | quote }}
|
||||
|
||||
@@ -75,7 +75,11 @@ spec:
|
||||
- name: SENTRY_EMAIL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.email.existingSecret }}
|
||||
name: {{ .Values.email.existingSecret }}
|
||||
{{- else }}
|
||||
name: {{ template "fullname" . }}
|
||||
{{- end }}
|
||||
key: smtp-password
|
||||
- name: SENTRY_USER_PASSWORD
|
||||
valueFrom:
|
||||
|
||||
@@ -14,7 +14,9 @@ data:
|
||||
{{ else }}
|
||||
sentry-secret: {{ randAlphaNum 40 | b64enc | quote }}
|
||||
{{ end }}
|
||||
{{- if not .Values.email.existingSecret }}
|
||||
smtp-password: {{ default "" .Values.email.password | b64enc | quote }}
|
||||
{{ end }}
|
||||
{{ if .Values.user.password }}
|
||||
user-password: {{ .Values.user.password | b64enc | quote }}
|
||||
{{ else }}
|
||||
|
||||
@@ -90,7 +90,11 @@ spec:
|
||||
- name: SENTRY_EMAIL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.email.existingSecret }}
|
||||
name: {{ .Values.email.existingSecret }}
|
||||
{{- else }}
|
||||
name: {{ template "fullname" . }}
|
||||
{{- end }}
|
||||
key: smtp-password
|
||||
- name: SENTRY_EMAIL_USE_TLS
|
||||
value: {{ .Values.email.use_tls | quote }}
|
||||
|
||||
@@ -91,7 +91,11 @@ spec:
|
||||
- name: SENTRY_EMAIL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.email.existingSecret }}
|
||||
name: {{ .Values.email.existingSecret }}
|
||||
{{- else }}
|
||||
name: {{ template "fullname" . }}
|
||||
{{- end }}
|
||||
key: smtp-password
|
||||
- name: SENTRY_EMAIL_USE_TLS
|
||||
value: {{ .Values.email.use_tls | quote }}
|
||||
|
||||
Reference in New Issue
Block a user