Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
updated ingress.yaml (#1527)
  • Loading branch information
gunish-dt authored Apr 21, 2022
commit 5bc72ea3d7cc40edb52d13324a7214cad09d4c68
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
serviceName: {{ $svcName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- if .Values.ingress.hosts }}
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
Expand All @@ -39,6 +40,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
Expand Down Expand Up @@ -72,6 +74,7 @@ spec:
serviceName: {{ $svcName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- if .Values.ingressInternal.hosts }}
{{- range .Values.ingressInternal.hosts }}
- host: {{ .host | quote }}
http:
Expand All @@ -83,6 +86,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingressInternal.tls }}
tls:
{{ toYaml .Values.ingressInternal.tls | indent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
serviceName: {{ $svcName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- if .Values.ingress.hosts }}
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
Expand All @@ -39,6 +40,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
Expand Down Expand Up @@ -72,6 +74,7 @@ spec:
serviceName: {{ $svcName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- if .Values.ingressInternal.hosts }}
{{- range .Values.ingressInternal.hosts }}
- host: {{ .host | quote }}
http:
Expand All @@ -83,6 +86,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingressInternal.tls }}
tls:
{{ toYaml .Values.ingressInternal.tls | indent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- if .Values.ingress.hosts }}
{{- range .Values.ingress.hosts }}
{{ $outer := . -}}
- host: {{ .host | quote }}
Expand All @@ -79,6 +80,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
Expand Down Expand Up @@ -131,6 +133,7 @@ spec:
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- if .Values.ingressInternal.hosts }}
{{- range .Values.ingressInternal.hosts }}
{{ $outer := . -}}
- host: {{ .host | quote }}
Expand All @@ -153,6 +156,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.ingressInternal.tls }}
tls:
{{ toYaml .Values.ingressInternal.tls | indent 4 }}
Expand Down