rancher-partner-charts/charts/clastix/kamaji-console/templates/secret.yaml

16 lines
587 B
YAML

{{- if .Values.credentialsSecret.generate -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.credentialsSecret.name }}
labels:
{{- include "console.labels" . | nindent 4 }}
data:
NEXTAUTH_URL: {{ .Values.credentialsSecret.nextAuthUrl | b64enc | quote }}
# Secret used to sign the browser session
JWT_SECRET: {{ .Values.credentialsSecret.jwtSecret | b64enc | quote }}
# Credentials to access the dashboard
ADMIN_EMAIL: {{ .Values.credentialsSecret.email | b64enc | quote }}
ADMIN_PASSWORD: {{ .Values.credentialsSecret.password | b64enc | quote }}
{{- end -}}