Merge pull request #7 from holysoles/fix_autogenerate_mail_secret

fix(chart): mail secret fixes
This commit is contained in:
Jesse Hitch
2025-01-18 10:03:34 +01:00
committed by GitHub
3 changed files with 8 additions and 4 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.2.1 version: 0.2.2
# 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
+2 -2
View File
@@ -1,6 +1,6 @@
# pixelfed # pixelfed
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-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.2.2](https://img.shields.io/badge/Version-0.2.2-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
@@ -190,4 +190,4 @@ A Helm chart for deploying Pixelfed on Kubernetes
| volumes | list | `[]` | Additional volumes on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. |
---------------------------------------------- ----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
+5 -1
View File
@@ -1,4 +1,4 @@
{{- if not .Values.externalDatabase.existingSecret }} {{- if not .Values.pixelfed.mail.existingSecret }}
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@@ -7,6 +7,10 @@ metadata:
data: data:
host: {{ .Values.pixelfed.mail.host }} host: {{ .Values.pixelfed.mail.host }}
port: {{ .Values.pixelfed.mail.port }} port: {{ .Values.pixelfed.mail.port }}
{{- if .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username }} username: {{ .Values.pixelfed.mail.username }}
{{- end }}
{{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password }} password: {{ .Values.pixelfed.mail.password }}
{{- end }} {{- end }}
{{- end }}