Skip to content

Commit edd3114

Browse files
committed
Change TLS termination to Reencrypt and Redirect on Insecure
1 parent 796086c commit edd3114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/kam.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ func newRouteForCLI() *routev1.Route {
144144
TargetPort: intstr.IntOrString{IntVal: portTLS},
145145
},
146146
TLS: &routev1.TLSConfig{
147-
Termination: routev1.TLSTerminationPassthrough,
148-
InsecureEdgeTerminationPolicy: routev1.InsecureEdgeTerminationPolicyNone,
147+
Termination: routev1.TLSTerminationReencrypt,
148+
InsecureEdgeTerminationPolicy: routev1.InsecureEdgeTerminationPolicyRedirect,
149149
},
150150
}
151151

0 commit comments

Comments
 (0)