mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
506 B
14 lines
506 B
{{- if and .Values.postgresql.enabled (not .Values.postgresql.existingSecret) -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "wiki.postgresql.fullname" . }}
|
|
labels:
|
|
{{- include "wiki.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
postgresql-password: {{ .Values.postgresql.postgresqlPassword | b64enc | quote }}
|
|
postgresql-username: {{ .Values.postgresql.postgresqlUser | b64enc | quote }}
|
|
postgresql-database: {{ .Values.postgresql.postgresqlDatabase | b64enc | quote }}
|
|
{{- end }}
|