fix templating of smtp credentials

This commit is contained in:
JesseBot 2025-09-28 15:25:50 +02:00
parent 1e7bacadfa
commit 94fa0ad1c2
No known key found for this signature in database
3 changed files with 12 additions and 12 deletions

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: 1.0.2
version: 1.0.3
# renovate: image=docker.io/ghost
appVersion: "6.0.10"

View file

@ -1,6 +1,6 @@
# ghost
![Version: 1.0.2](https://img.shields.io/badge/Version-1.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
A Helm chart for deploying Ghost on Kubernetes

View file

@ -101,30 +101,30 @@ spec:
- name: mail__options__host
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.secretKeys.hostname }}
name: {{ .Values.ghost.smtp.existingSecret }}
key: {{ .Values.ghost.smtp.secretKeys.hostname }}
# 9
- name: mail__options__port
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.secretKeys.port }}
name: {{ .Values.ghost.smtp.existingSecret }}
key: {{ .Values.ghost.smtp.secretKeys.port }}
# 10
- name: mail__transport
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.secretKeys.protocol }}
name: {{ .Values.ghost.smtp.existingSecret }}
key: {{ .Values.ghost.smtp.secretKeys.protocol }}
- name: mail__options__auth__user
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.secretKeys.username }}
name: {{ .Values.ghost.smtp.existingSecret }}
key: {{ .Values.ghost.smtp.secretKeys.username }}
- name: mail__options__auth__pass
valueFrom:
secretKeyRef:
name: {{ .Values.externalDatabase.existingSecret }}
key: {{ .Values.externalDatabase.secretKeys.password }}
name: {{ .Values.ghost.smtp.existingSecret }}
key: {{ .Values.ghost.smtp.secretKeys.password }}
{{ end }}
ports: