blob: 91fc34f381a9bbac5322d13cefbabe2011516d7f [file] [log] [blame]
Andreas Geissler723038e2024-02-07 10:31:05 +01001apiVersion: gateway.networking.k8s.io/v1
2kind: HTTPRoute
3metadata:
4 labels:
5 app.kubernetes.io/managed-by: Helm
6 name: keycloak-ui-http-route
7 namespace: keycloak
8spec:
9 hostnames:
10 - keycloak-ui.simpledemo.onap.org
11 parentRefs:
12 - group: gateway.networking.k8s.io
13 kind: Gateway
14 name: common-gateway
15 namespace: istio-ingress
16 sectionName: https-80
17 rules:
18 Filters:
19 Request Redirect:
20 Port: 443
21 Scheme: https
22 Status Code: 301
23 Type: RequestRedirect
24 Matches:
25 Path:
26 Type: PathPrefix
27 Value: /auth
28---
29apiVersion: gateway.networking.k8s.io/v1
30kind: HTTPRoute
31metadata:
32 labels:
33 app.kubernetes.io/managed-by: Helm
34 name: keycloak-ui-http-route
35 namespace: keycloak
36spec:
37 hostnames:
38 - keycloak-ui.simpledemo.onap.org
39 parentRefs:
40 - group: gateway.networking.k8s.io
41 kind: Gateway
42 name: common-gateway
43 namespace: istio-ingress
44 sectionName: https-443
45 rules:
46 - backendRefs:
47 - group: ""
48 kind: Service
49 name: keycloak-keycloakx-http
50 port: 80
51 weight: 1
52 matches:
53 - path:
54 type: PathPrefix
55 value: /auth