diff --git a/addons/metabase/templates/private-ingress.yaml b/addons/metabase/templates/private-ingress.yaml index cbde6e37e..63c34945a 100644 --- a/addons/metabase/templates/private-ingress.yaml +++ b/addons/metabase/templates/private-ingress.yaml @@ -61,7 +61,11 @@ spec: {{- range $allPrivateHosts }} - {{ . | quote }} {{- end }} - secretName: {{ include "docker-template.fullname" . }} + {{ if .Values.privateIngress.wildcard }} + secretName: wildcard-cert-tls + {{ else }} + secretName: {{ include "docker-template.fullname" . }} + {{ end }} {{- end }} rules: {{- range $allPrivateHosts }} diff --git a/addons/metabase/values.yaml b/addons/metabase/values.yaml index cb58def13..9b3034774 100644 --- a/addons/metabase/values.yaml +++ b/addons/metabase/values.yaml @@ -43,6 +43,7 @@ ingress: privateIngress: enabled: false tls: false + wildcard: false privateIngressClass: hosts: [] custom_paths: []