Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 1 | apiVersion: gateway.networking.k8s.io/v1 |
| 2 | kind: HTTPRoute |
| 3 | metadata: |
| 4 | labels: |
| 5 | app.kubernetes.io/managed-by: Helm |
| 6 | name: keycloak-ui-http-route |
| 7 | namespace: keycloak |
| 8 | spec: |
| 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 | --- |
| 29 | apiVersion: gateway.networking.k8s.io/v1 |
| 30 | kind: HTTPRoute |
| 31 | metadata: |
| 32 | labels: |
| 33 | app.kubernetes.io/managed-by: Helm |
| 34 | name: keycloak-ui-http-route |
| 35 | namespace: keycloak |
| 36 | spec: |
| 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 |