Skip to content

Commit 1b6564e

Browse files
committed
Change TLS termination to Reencrypt and Redirect on Insecure
Signed-off-by: Byron Miller (MOBB) <bymiller@redhat.com>
1 parent 796086c commit 1b6564e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controllers/kam.go

Lines changed: 2 additions & 2 deletions
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)