update keycloak ingress configuration to use regex for auth-redirect and modify pathType

main
Ishrath Ahamed 1 day ago
parent f0316b9f51
commit ef975228cb

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

Loading…
Cancel
Save