apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: {{ include "common.fullname" . }} | |
namespace: {{ include "common.namespace" . }} | |
labels: | |
app: {{ include "common.name" . }} | |
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | |
release: "{{ .Release.Name }}" | |
heritage: "{{ .Release.Service }}" | |
type: Opaque | |
data: | |
db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }} | |
user-password: {{ default "" .Values.config.userPassword | b64enc | quote }} |