mirror of
https://github.com/helm/charts.git
synced 2026-08-19 20:37:05 +00:00
* [stable/parse] New major version] Signed-off-by: juan131 <juan@bitnami.com> * Fix typo Signed-off-by: juan131 <juan@bitnami.com> * [stable/parse] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com>
20 lines
584 B
YAML
20 lines
584 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "parse.fullname" . }}
|
|
labels: {{ include "parse.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
{{ if .Values.server.masterKey }}
|
|
master-key: {{ .Values.server.masterKey | b64enc | quote }}
|
|
{{ else }}
|
|
master-key: {{ randAlphaNum 10 | b64enc | quote }}
|
|
{{ end }}
|
|
{{ if .Values.dashboard.enabled }}
|
|
{{ if .Values.dashboard.password }}
|
|
parse-dashboard-password: {{ .Values.dashboard.password | b64enc | quote }}
|
|
{{ else }}
|
|
parse-dashboard-password: {{ randAlphaNum 10 | b64enc | quote }}
|
|
{{ end }}
|
|
{{ end }}
|