Skip to content

Commit 891f736

Browse files
configure httpRedirect on istio gateway in helm
Signed-off-by: ayush <[email protected]>
1 parent 29e9f59 commit 891f736

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

config/charts/knative-operator/templates/operator.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -4875,6 +4875,13 @@ spec:
48754875
type: string
48764876
type: object
48774877
tls:
4878+
nullable: true
4879+
oneOf:
4880+
- required:
4881+
- mode
4882+
- credentialName
4883+
- required:
4884+
- httpsRedirect
48784885
properties:
48794886
mode:
48804887
description: TLS mode can be SIMPLE, MUTUAL, ISTIO_MUTUAL.
@@ -4884,6 +4891,11 @@ spec:
48844891
description: TLS certificate name.
48854892
format: string
48864893
type: string
4894+
httpsRedirect:
4895+
description: If set to true, the load balancer will send a 301 redirect
4896+
to HTTPS for all HTTP requests. Should be used only for HTTP listener,
4897+
is mutually exclusive with all other TLS options.
4898+
type: boolean
48874899
type: object
48884900
type: object
48894901
type: array
@@ -4924,6 +4936,13 @@ spec:
49244936
type: string
49254937
type: object
49264938
tls:
4939+
nullable: true
4940+
oneOf:
4941+
- required:
4942+
- mode
4943+
- credentialName
4944+
- required:
4945+
- httpsRedirect
49274946
properties:
49284947
mode:
49294948
description: TLS mode can be SIMPLE, MUTUAL, ISTIO_MUTUAL.
@@ -4933,6 +4952,11 @@ spec:
49334952
description: TLS certificate name.
49344953
format: string
49354954
type: string
4955+
httpsRedirect:
4956+
description: If set to true, the load balancer will send a 301 redirect
4957+
to HTTPS for all HTTP requests. Should be used only for HTTP listener,
4958+
is mutually exclusive with all other TLS options.
4959+
type: boolean
49364960
type: object
49374961
type: object
49384962
type: array

0 commit comments

Comments
 (0)