Skip to content

Commit 6da82f9

Browse files
committed
fix ingress syntax
1 parent 2d196b5 commit 6da82f9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

charts/console/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Helm chart for Kubernetes
55
type: application
66

77
# This is the chart version.
8-
version: 0.5.0
8+
version: 0.6.0
99

1010
# This is the version number of the application being deployed.
1111
appVersion: "4.11.0" # https://access.redhat.com/support/policy/updates/openshift # paragraph "OpenShift Support Matrix"

charts/console/templates/ingress.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spec:
4141
- host: {{ .host | quote }}
4242
http:
4343
paths:
44+
{{- range .paths }}
4445
{{- if $.Values.ingress.sslRedirect }}
4546
- path: {{ .path }}
4647
backend:
@@ -50,7 +51,7 @@ spec:
5051
name: use-annotation
5152
pathType: {{ .pathType }}
5253
{{- end }}
53-
{{- range .paths }}
54+
5455
- path: {{ .path }}
5556
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
5657
pathType: {{ .pathType }}
@@ -64,7 +65,7 @@ spec:
6465
{{- else }}
6566
serviceName: {{ $fullName }}
6667
servicePort: {{ $svcPort }}
67-
{{- end }}
68-
{{- end }}
68+
{{- end }}
69+
{{- end }}
6970
{{- end }}
7071
{{- end }}

0 commit comments

Comments
 (0)