19 lines
598 B
YAML
19 lines
598 B
YAML
{{- if not .Values.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "who-need-help.fullname" . }}
|
|
labels:
|
|
{{- include "who-need-help.labels" . | nindent 4 }}
|
|
annotations:
|
|
helm.sh/hook: pre-install,pre-upgrade
|
|
helm.sh/hook-weight: "-10"
|
|
helm.sh/hook-delete-policy: before-hook-creation
|
|
type: Opaque
|
|
stringData:
|
|
DATABASE_URL: {{ .Values.app.databaseUrl | quote }}
|
|
SECRET_KEY_BASE: {{ .Values.app.secretKeyBase | quote }}
|
|
HANDOVER_SECRET: {{ .Values.app.handoverSecret | quote }}
|
|
RELEASE_COOKIE: {{ .Values.app.releaseCookie | quote }}
|
|
{{- end }}
|