sso-kustom/examples/authenticated-app/resources/ingress.yaml
2023-02-27 09:36:36 +01:00

43 lines
955 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: portal
annotations:
ingress.kubernetes.io/ssl-redirect: "false"
traefik.ingress.kubernetes.io/router.middlewares: default-ingress-prefix@kubernetescrd
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app
port:
name: http
- path: /auth/dispatcher
pathType: Prefix
backend:
service:
name: hydra-dispatcher
port:
name: http
- path: /auth
pathType: Prefix
backend:
service:
name: hydra
port:
name: hydra-public
# - path: /auth/passwordless/?(.*)
# pathType: Prefix
# backend:
# service:
# name: hydra
# port:
# name: http-public