Merge pull request #12 from small-hack/fix/secret-templating

fix secret templating
This commit is contained in:
Jesse Hitch
2025-01-18 11:04:03 +01:00
committed by GitHub
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -1,6 +1,6 @@
# pixelfed
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
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 }}
+4 -4
View File
@@ -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 }}
+3 -3
View File
@@ -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 }}