Skip to content

Commit 2d196b5

Browse files
committed
proper ssl-redirect for alb - list order
1 parent 774818a commit 2d196b5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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.4.0
8+
version: 0.5.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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ spec:
4141
- host: {{ .host | quote }}
4242
http:
4343
paths:
44+
{{- if $.Values.ingress.sslRedirect }}
45+
- path: {{ .path }}
46+
backend:
47+
service:
48+
name: ssl-redirect
49+
port:
50+
name: use-annotation
51+
pathType: {{ .pathType }}
52+
{{- end }}
4453
{{- range .paths }}
4554
- path: {{ .path }}
4655
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
@@ -56,15 +65,6 @@ spec:
5665
serviceName: {{ $fullName }}
5766
servicePort: {{ $svcPort }}
5867
{{- end }}
59-
{{- if $.Values.ingress.sslRedirect }}
60-
- path: {{ .path }}
61-
backend:
62-
service:
63-
name: ssl-redirect
64-
port:
65-
name: use-annotation
66-
pathType: {{ .pathType }}
67-
{{- end }}
6868
{{- end }}
6969
{{- end }}
7070
{{- end }}

0 commit comments

Comments
 (0)