fix secret templating
This commit is contained in:
@@ -5,9 +5,9 @@ kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-database
|
||||
data:
|
||||
host: {{ .Values.externalDatabase.host }}
|
||||
port: {{ .Values.externalDatabase.port }}
|
||||
database: {{ .Values.externalDatabase.database }}
|
||||
username: {{ .Values.externalDatabase.username }}
|
||||
password: {{ .Values.externalDatabase.password }}
|
||||
host: {{ .Values.externalDatabase.host | b64enc }}
|
||||
port: {{ .Values.externalDatabase.port | quote | b64enc }}
|
||||
database: {{ .Values.externalDatabase.database | b64enc }}
|
||||
username: {{ .Values.externalDatabase.username | b64enc }}
|
||||
password: {{ .Values.externalDatabase.password | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
@@ -5,12 +5,12 @@ kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-mail
|
||||
data:
|
||||
host: {{ .Values.pixelfed.mail.host }}
|
||||
port: {{ .Values.pixelfed.mail.port }}
|
||||
host: {{ .Values.pixelfed.mail.host | b64enc }}
|
||||
port: {{ .Values.pixelfed.mail.port | quote | b64enc}}
|
||||
{{- if .Values.pixelfed.mail.username }}
|
||||
username: {{ .Values.pixelfed.mail.username }}
|
||||
username: {{ .Values.pixelfed.mail.username | b64enc }}
|
||||
{{- end }}
|
||||
{{- if .Values.pixelfed.mail.password }}
|
||||
password: {{ .Values.pixelfed.mail.password }}
|
||||
password: {{ .Values.pixelfed.mail.password | b64enc }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -5,7 +5,7 @@ kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-valkey
|
||||
data:
|
||||
host: {{ .Values.externalValkey.host }}
|
||||
port: {{ .Values.externalValkey.port }}
|
||||
password: {{ .Values.externalValkey.password }}
|
||||
host: {{ .Values.externalValkey.host | b64enc }}
|
||||
port: {{ .Values.externalValkey.port | quote | b64enc }}
|
||||
password: {{ .Values.externalValkey.password | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user