apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: auth-redirect-simple annotations: 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: ImplementationSpecific backend: service: name: csi-iam-service port: number: 80