2019-10-08 09:44:25 +01:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
type: Opaque
|
|
|
|
metadata:
|
|
|
|
name: {{ include "passbook.fullname" . }}-secret-key
|
|
|
|
data:
|
2019-11-08 14:00:08 +00:00
|
|
|
monitoring_username: bW9uaXRvcg== # monitor in base64
|
2019-10-08 09:44:25 +01:00
|
|
|
{{- if .Values.config.secret_key }}
|
|
|
|
secret_key: {{ .Values.config.secret_key | b64enc | quote }}
|
|
|
|
{{- else }}
|
|
|
|
secret_key: {{ randAlphaNum 50 | b64enc | quote}}
|
|
|
|
{{- end }}
|