diff --git a/bitnami/wordpress/Chart.yaml b/bitnami/wordpress/Chart.yaml index 5c7f67a127..fe5cd03d81 100644 --- a/bitnami/wordpress/Chart.yaml +++ b/bitnami/wordpress/Chart.yaml @@ -31,4 +31,4 @@ name: wordpress sources: - https://github.com/bitnami/bitnami-docker-wordpress - http://www.wordpress.com/ -version: 10.4.4 +version: 10.4.5 diff --git a/bitnami/wordpress/ci/ingress-wildcard-values.yaml b/bitnami/wordpress/ci/ingress-wildcard-values.yaml new file mode 100644 index 0000000000..b57ce6eaea --- /dev/null +++ b/bitnami/wordpress/ci/ingress-wildcard-values.yaml @@ -0,0 +1,9 @@ +service: + type: ClusterIP + +ingress: + enabled: true + tls: true + extraHosts: + - name: "*.domain.tld" + path: / diff --git a/bitnami/wordpress/templates/ingress.yaml b/bitnami/wordpress/templates/ingress.yaml index 38315c32e5..9527f78581 100755 --- a/bitnami/wordpress/templates/ingress.yaml +++ b/bitnami/wordpress/templates/ingress.yaml @@ -20,7 +20,7 @@ metadata: spec: rules: {{- if .Values.ingress.hostname }} - - host: {{ .Values.ingress.hostname }} + - host: {{ .Values.ingress.hostname | quote }} http: paths: {{- if .Values.ingress.extraPaths }} @@ -46,9 +46,9 @@ spec: tls: {{- if .Values.ingress.tls }} - hosts: - - {{ .Values.ingress.hostname }} + - {{ .Values.ingress.hostname | quote }} {{- range .Values.ingress.extraHosts }} - - {{ .name }} + - {{ .name | quote }} {{- end }} secretName: {{ printf "%s-tls" .Values.ingress.hostname }} {{- end }}