File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ spec:
4545{{- if hasKey $.Values.multipleWildcardIngress.annotations "kubernetes.io/ingress.class" }}
4646 ingressClassName : {{ index $.Values.multipleWildcardIngress.annotations "kubernetes.io/ingress.class" }}
4747{{- else }}
48- ingressClassName : nginx
48+ ingressClassName : {{ $.Values.multipleWildcardIngress.ingressClass }}
4949{{- end }}
50+ {{- if $hostDetails.tlsSecret}}
5051 tls :
5152 - hosts :
5253 - {{ $hostDetails.hostName | quote }}
5354 secretName : {{ $hostDetails.tlsSecret }}
55+ {{- end }}
5456 rules :
5557 - host : {{ $hostDetails.hostName | quote }}
5658 http :
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ multipleWildcardIngress:
6565 enabled : false
6666 ingressClass : nginx
6767 # hosts contains a list of objects, each object contains a hostName and a tlsSecret
68+ # Leave tlsSecret blank ONLY if you want to allow Ingress for a specific host without TLS
6869 hosts : []
6970 custom_domain : true
7071 rewriteCustomPathsEnabled : true
You can’t perform that action at this time.
0 commit comments