TrueChartsClone/charts/dependency/mariadb/templates/secret.yaml

15 lines
445 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
data:
mariadb-password: {{ ( .Values.mariadbPassword | default "empty" ) | b64enc | quote }}
mariadb-root-password: {{ ( .Values.mariadbRootPassword | default "empty" ) | b64enc | quote }}