Merge pull request #12 from small-hack/fix/secret-templating
fix secret templating
This commit is contained in:
@@ -15,7 +15,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.3.3
|
||||
version: 0.3.4
|
||||
|
||||
# This is the version number of the application being deployed.
|
||||
# renovate:image=ghcr.io/mattlqx/docker-pixelfed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pixelfed
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Pixelfed on Kubernetes
|
||||
|
||||
|
||||
@@ -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