From 9bc7515bf0e43e8591308fee87ce32eee5377d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=83=E5=81=A5=E6=AF=85?= <2756283+huang-jy@users.noreply.github.com> Date: Wed, 13 Jan 2021 09:34:30 +0000 Subject: [PATCH] [bitnami/wordpress] Add support for SANs on certs (#4953) * Add support for SANs on certs * Bump chart version * Use extraHosts instead * Remove `alternativeHostNames` --- bitnami/wordpress/Chart.yaml | 2 +- bitnami/wordpress/templates/ingress.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bitnami/wordpress/Chart.yaml b/bitnami/wordpress/Chart.yaml index bad791bdd5..bbdf500b5f 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.0 +version: 10.4.1 diff --git a/bitnami/wordpress/templates/ingress.yaml b/bitnami/wordpress/templates/ingress.yaml index b3227fe49b..38315c32e5 100755 --- a/bitnami/wordpress/templates/ingress.yaml +++ b/bitnami/wordpress/templates/ingress.yaml @@ -47,6 +47,9 @@ spec: {{- if .Values.ingress.tls }} - hosts: - {{ .Values.ingress.hostname }} + {{- range .Values.ingress.extraHosts }} + - {{ .name }} + {{- end }} secretName: {{ printf "%s-tls" .Values.ingress.hostname }} {{- end }} {{- if .Values.ingress.extraTls }}