Skip to content

Commit d96dc41

Browse files
committed
support ssl-redirect
1 parent 6dd0476 commit d96dc41

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
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.2.2
8+
version: 0.2.3
99

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

charts/console/templates/ingress.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ spec:
5656
serviceName: {{ $fullName }}
5757
servicePort: {{ $svcPort }}
5858
{{- 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 }}
5968
{{- end }}
6069
{{- end }}
6170
{{- end }}

charts/console/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ service:
7070

7171
ingress:
7272
enabled: false
73+
sslRedirect: false
7374
className: ""
7475
annotations: {}
7576
# kubernetes.io/ingress.class: nginx

0 commit comments

Comments
 (0)