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 # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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. # This is the version number of the application being deployed.
# renovate:image=ghcr.io/mattlqx/docker-pixelfed # renovate:image=ghcr.io/mattlqx/docker-pixelfed
+1 -1
View File
@@ -1,6 +1,6 @@
# pixelfed # 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 A Helm chart for deploying Pixelfed on Kubernetes
@@ -5,9 +5,9 @@ kind: Secret
metadata: metadata:
name: pixelfed-database name: pixelfed-database
data: data:
host: {{ .Values.externalDatabase.host }} host: {{ .Values.externalDatabase.host | b64enc }}
port: {{ .Values.externalDatabase.port }} port: {{ .Values.externalDatabase.port | quote | b64enc }}
database: {{ .Values.externalDatabase.database }} database: {{ .Values.externalDatabase.database | b64enc }}
username: {{ .Values.externalDatabase.username }} username: {{ .Values.externalDatabase.username | b64enc }}
password: {{ .Values.externalDatabase.password }} password: {{ .Values.externalDatabase.password | b64enc }}
{{- end }} {{- end }}
+4 -4
View File
@@ -5,12 +5,12 @@ kind: Secret
metadata: metadata:
name: pixelfed-mail name: pixelfed-mail
data: data:
host: {{ .Values.pixelfed.mail.host }} host: {{ .Values.pixelfed.mail.host | b64enc }}
port: {{ .Values.pixelfed.mail.port }} port: {{ .Values.pixelfed.mail.port | quote | b64enc}}
{{- if .Values.pixelfed.mail.username }} {{- if .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username }} username: {{ .Values.pixelfed.mail.username | b64enc }}
{{- end }} {{- end }}
{{- if .Values.pixelfed.mail.password }} {{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password }} password: {{ .Values.pixelfed.mail.password | b64enc }}
{{- end }} {{- end }}
{{- end }} {{- end }}
+3 -3
View File
@@ -5,7 +5,7 @@ kind: Secret
metadata: metadata:
name: pixelfed-valkey name: pixelfed-valkey
data: data:
host: {{ .Values.externalValkey.host }} host: {{ .Values.externalValkey.host | b64enc }}
port: {{ .Values.externalValkey.port }} port: {{ .Values.externalValkey.port | quote | b64enc }}
password: {{ .Values.externalValkey.password }} password: {{ .Values.externalValkey.password | b64enc }}
{{- end }} {{- end }}