mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-04 05:25:54 +08:00
update Readme and set cert name as ${mail.fullname}
This commit is contained in:
parent
c131bdae37
commit
2c94e4fe0e
3 changed files with 7 additions and 2 deletions
|
@ -639,7 +639,9 @@ Chart configuration is as follows:
|
|||
| `nodeSelector` | `{}` | Standard Kubernetes stuff |
|
||||
| `tolerations` | `[]` | Standard Kubernetes stuff |
|
||||
| `affinity` | `{}` | Standard Kubernetes stuff |
|
||||
| `certs.create` | `{}` | Auto generate TLS certificates for Postfix |
|
||||
| `certs.create` | `false` | Auto generate TLS certificates for Postfix |
|
||||
| `certs.existing` | `false` | Use existing TLS certificates for Postfix |
|
||||
| `certs.existingSecret` | `""` | Existing secret containing the TLS certificates for Postfix |
|
||||
| `extraVolumes` | `[]` | Append any extra volumes to the pod |
|
||||
| `extraVolumeMounts` | `[]` | Append any extra volume mounts to the postfix container |
|
||||
| `extraInitContainers` | `[]` | Execute any extra init containers on startup |
|
||||
|
|
|
@ -84,6 +84,6 @@ Return the secret containing HTTPS/TLS certificates
|
|||
{{- if $secretName -}}
|
||||
{{- printf "%s" (tpl $secretName .) -}}
|
||||
{{- else -}}
|
||||
{{- printf "smtp-relay-mail-certs" -}}
|
||||
{{- printf "%s-certs" (include "mail.fullname" .) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
3
helm/test_16_test_existing_certs.yml
Normal file
3
helm/test_16_test_existing_certs.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
certs:
|
||||
existing: true
|
||||
existingSecret: "example-tls"
|
Loading…
Add table
Reference in a new issue