mirror of
https://github.com/bitnami/charts.git
synced 2026-02-25 07:38:03 +08:00
[bitnami/wordpress] feature: add www subdomain to ingress.tls.hosts (#14400)
* feature: add www subdomain to ingress.tls.hosts Signed-off-by: moritz <m.tratar@senbax.computer> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: moritz <m.tratar@senbax.computer> * increase chart version; add auto enable tlsWwwPrefix if from-to-www-redirect Signed-off-by: moritz <m.tratar@senbax.computer> * Update Chart.yaml Signed-off-by: corico44 <42420333+corico44@users.noreply.github.com> Signed-off-by: moritz <m.tratar@senbax.computer> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: corico44 <42420333+corico44@users.noreply.github.com> Co-authored-by: moritz <m.tratar@senbax.computer> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: corico44 <42420333+corico44@users.noreply.github.com>
This commit is contained in:
@@ -35,4 +35,4 @@ name: wordpress
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/wordpress
|
||||
- https://wordpress.org/
|
||||
version: 15.2.31
|
||||
version: 15.2.32
|
||||
@@ -231,6 +231,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `ingress.path` | Default path for the ingress record | `/` |
|
||||
| `ingress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
|
||||
| `ingress.tls` | Enable TLS configuration for the host defined at `ingress.hostname` parameter | `false` |
|
||||
| `ingress.tlsWwwPrefix` | Adds www subdomain to default cert | `false` |
|
||||
| `ingress.selfSigned` | Create a TLS secret for this ingress record using self-signed certificates generated by Helm | `false` |
|
||||
| `ingress.extraHosts` | An array with additional hostname(s) to be covered with the ingress record | `[]` |
|
||||
| `ingress.extraPaths` | An array with additional arbitrary paths that may need to be added to the ingress under the main host | `[]` |
|
||||
|
||||
@@ -51,6 +51,9 @@ spec:
|
||||
{{- if and .Values.ingress.tls (or (include "common.ingress.certManagerRequest" ( dict "annotations" .Values.ingress.annotations )) .Values.ingress.selfSigned) }}
|
||||
- hosts:
|
||||
- {{ .Values.ingress.hostname | quote }}
|
||||
{{- if or (.Values.ingress.tlsWwwPrefix) (eq (index .Values.ingress.annotations "nginx.ingress.kubernetes.io/from-to-www-redirect") "true" ) }}
|
||||
- {{ print "www.%s" .Values.ingress.hostname }}
|
||||
{{- end }}
|
||||
secretName: {{ printf "%s-tls" .Values.ingress.hostname }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.extraTls }}
|
||||
|
||||
@@ -629,6 +629,10 @@ ingress:
|
||||
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
|
||||
##
|
||||
tls: false
|
||||
## @param ingress.tlsWwwPrefix Adds www subdomain to default cert
|
||||
## Creates tls host with ingress.hostname: {{ print "www.%s" .Values.ingress.hostname }}
|
||||
## Is enabled if "nginx.ingress.kubernetes.io/from-to-www-redirect" is "true"
|
||||
tlsWwwPrefix: false
|
||||
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
|
||||
##
|
||||
selfSigned: false
|
||||
|
||||
Reference in New Issue
Block a user