You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
653 B
YAML
18 lines
653 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "powerdns.fullname" . }}-secret
|
|
labels:
|
|
{{ include "powerdns.labels" . | indent 4}}
|
|
release: {{ .Release.Name }}
|
|
chart: {{ template "powerdns.chart" . }}
|
|
type: Opaque
|
|
data:
|
|
PDNS_APIKEY: {{ required "Missing variable: apikey" .Values.apikey | b64enc }}
|
|
MYSQL_PASS: {{ required "Missing variable: mariadb.mysql_pass" .Values.mariadb.mysql_pass | b64enc }}
|
|
{{ if .Values.mariadb.mysql_rootpass }}
|
|
MYSQL_ROOTPASS: {{ .Values.mariadb.mysql_rootpass | b64enc }}
|
|
{{ end }}
|
|
PDNSADMIN_SECRET: {{ required "Missing variable: powerdnsadmin.secret" .Values.admin.secret | b64enc }}
|
|
|