add ghost.smtp.from_address and ghost.smtp.secretKeys.from_address
This commit is contained in:
parent
f2bcdfc575
commit
8e8a0a15a6
5 changed files with 15 additions and 2 deletions
|
@ -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.5
|
||||
version: 1.1.0
|
||||
|
||||
# renovate: image=docker.io/ghost
|
||||
appVersion: "6.0.10"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ghost
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Ghost on Kubernetes
|
||||
|
||||
|
@ -45,10 +45,12 @@ A Helm chart for deploying Ghost on Kubernetes
|
|||
| ghost.enable_https | bool | `false` | enable HTTPS for the ghost blog |
|
||||
| ghost.skip_bootstrap | bool | `false` | skip install of ghost at pod restart |
|
||||
| ghost.smtp.existingSecret | string | `""` | existing kubernetes secret with ghost smtp credentials |
|
||||
| ghost.smtp.from_address | string | `""` | smtp from address. ignored if existingSecret not "" |
|
||||
| ghost.smtp.host | string | `""` | smtp hostname. ignored if existingSecret not "" |
|
||||
| ghost.smtp.password | string | `""` | smtp password. ignored if existingSecret not "" |
|
||||
| ghost.smtp.port | string | `""` | smtp port. ignored if existingSecret not "" |
|
||||
| ghost.smtp.protocol | string | `""` | smtp protocol. ignored if existingSecret not "" |
|
||||
| ghost.smtp.secretKeys.from_address | string | `""` | Key in existing Kubernetes Secret with the smtp from address. |
|
||||
| ghost.smtp.secretKeys.host | string | `""` | Key in existing Kubernetes Secret with the smtp host. |
|
||||
| ghost.smtp.secretKeys.password | string | `""` | Key in existing Kubernetes Secret with the smtp password. |
|
||||
| ghost.smtp.secretKeys.port | string | `""` | Key in existing Kubernetes Secret with the smtp port. |
|
||||
|
|
|
@ -115,6 +115,12 @@ spec:
|
|||
secretKeyRef:
|
||||
name: {{ .Values.ghost.smtp.existingSecret }}
|
||||
key: {{ .Values.ghost.smtp.secretKeys.protocol }}
|
||||
# 11
|
||||
- name: mail__from
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.ghost.smtp.existingSecret }}
|
||||
key: {{ .Values.ghost.smtp.secretKeys.from_address }}
|
||||
- name: mail__options__auth__user
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -12,4 +12,5 @@ data:
|
|||
mail__options__auth__user: {{ .Values.ghost.smtp.username | b64enc }}
|
||||
mail__options__auth__pass: {{ .Values.ghost.smtp.password | b64enc }}
|
||||
mail__transport: {{ .Values.ghost.smtp.protocol | b64enc }}
|
||||
mail__from: {{ .Values.ghost.smtp.from_address | b64enc }}
|
||||
{{- end }}
|
||||
|
|
|
@ -218,6 +218,8 @@ ghost:
|
|||
password: ""
|
||||
# -- smtp protocol. ignored if existingSecret not ""
|
||||
protocol: ""
|
||||
# -- smtp from address. ignored if existingSecret not ""
|
||||
from_address: ""
|
||||
# -- existing kubernetes secret with ghost smtp credentials
|
||||
existingSecret: ""
|
||||
# keys in existing kubernetes secret for smtp credentials
|
||||
|
@ -232,3 +234,5 @@ ghost:
|
|||
username: ""
|
||||
# -- Key in existing Kubernetes Secret with the smtp password.
|
||||
password: ""
|
||||
# -- Key in existing Kubernetes Secret with the smtp from address.
|
||||
from_address: ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue