File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -270,12 +270,11 @@ func (r *AuthenticationReconciler) getAllRoutesFields(authCR *operatorv1alpha1.A
270
270
},
271
271
"saml-ui-callback" : {
272
272
Annotations : map [string ]string {
273
- "haproxy.router.openshift.io/balance" : "source" ,
274
- "haproxy.router.openshift.io/rewrite-target" : "/ibm/saml20/defaultSP/acs" ,
273
+ "haproxy.router.openshift.io/balance" : "source" ,
275
274
},
276
275
Name : "saml-ui-callback" ,
277
276
RouteHost : routeHost ,
278
- RoutePath : "/ibm/saml20/defaultSP/acs " ,
277
+ RoutePath : "/ibm/saml20/defaultSP" ,
279
278
RoutePort : 9443 ,
280
279
ServiceName : PlatformAuthServiceName ,
281
280
DestinationCAcert : platformAuthCert ,
Original file line number Diff line number Diff line change @@ -796,12 +796,11 @@ var _ = Describe("Route handling", func() {
796
796
Expect (route .Spec .TLS .DestinationCACertificate ).To (Equal (string (platformAuthSecretSecret .Data ["ca.crt" ])))
797
797
Expect (route .Annotations ).To (HaveKeyWithValue ("haproxy.router.openshift.io/balance" , "source" ))
798
798
case "saml-ui-callback" :
799
- Expect (route .Spec .Path ).To (Equal ("/ibm/saml20/defaultSP/acs " ))
799
+ Expect (route .Spec .Path ).To (Equal ("/ibm/saml20/defaultSP" ))
800
800
Expect (route .Spec .Port ).To (Equal (& routev1.RoutePort {TargetPort : intstr .FromInt (9443 )}))
801
801
Expect (route .Spec .To .Name ).To (Equal (PlatformAuthServiceName ))
802
802
Expect (route .Spec .TLS .DestinationCACertificate ).To (Equal (string (platformAuthSecretSecret .Data ["ca.crt" ])))
803
803
Expect (route .Annotations ).To (HaveKeyWithValue ("haproxy.router.openshift.io/balance" , "source" ))
804
- Expect (route .Annotations ).To (HaveKeyWithValue ("haproxy.router.openshift.io/rewrite-target" , "/ibm/saml20/defaultSP/acs" ))
805
804
case "social-login-callback" :
806
805
Expect (route .Spec .Path ).To (Equal ("/ibm/api/social-login" ))
807
806
Expect (route .Spec .Port ).To (Equal (& routev1.RoutePort {TargetPort : intstr .FromInt (9443 )}))
You can’t perform that action at this time.
0 commit comments