Skip to content

Commit 5738e5d

Browse files
authored
Merge pull request #1436 from porter-dev/main
main -> production
2 parents 7e60658 + 705be76 commit 5738e5d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

applications/web/templates/multiple-wildcard-ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

applications/web/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)