add new keycloak ingress configuration for auth-redirect and update backend service name in gateway ingress

main
Ishrath Ahamed 17 hours ago
parent 713853c413
commit f0316b9f51

@ -30,7 +30,7 @@ spec:
pathType: ImplementationSpecific
- backend:
service:
name: old-csi-net-empiread #csi-central-authentication-service #api-gateway-noauth #csi-central-authentication-service
name: old-csi-net-empiread
port:
number: 80
path: /(.*csi-api/old-csi-net-empiread/)(.*)

@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: auth-redirect
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /realms/$2
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
rules:
- host: quat.cloudsolutions.lk
http:
paths:
- path: /auth/realms(/|$)(.*)
pathType: Prefix
backend:
service:
name: csi-iam-service
port:
number: 80
Loading…
Cancel
Save