From cfbeaf67a151014ebcef0ec09fd82997024bfd5f Mon Sep 17 00:00:00 2001 From: Pat Losoponkul Date: Thu, 16 Nov 2023 19:19:05 +0700 Subject: [PATCH] chore: pr cleanup Signed-off-by: Pat Losoponkul --- .../charts/agent/templates/apisixroute.yaml | 38 ------------------- 1 file changed, 38 deletions(-) diff --git a/infrastructure/charts/agent/templates/apisixroute.yaml b/infrastructure/charts/agent/templates/apisixroute.yaml index 561e2c988f..3bb3f3fd29 100644 --- a/infrastructure/charts/agent/templates/apisixroute.yaml +++ b/infrastructure/charts/agent/templates/apisixroute.yaml @@ -167,42 +167,4 @@ spec: --- -{{- if .Values.keycloak.enabled }} - -apiVersion: apisix.apache.org/v2 -kind: ApisixRoute -metadata: - name: keycloak-oidc-route - namespace: "{{ .Release.Namespace }}" - labels: - {{ template "labels.common" . }} -spec: - http: - - name: keycloak-well-known-rule - match: - hosts: - {{- range .Values.ingress.applicationUrls }} - - {{ . }} - {{- end }} - paths: - - /realms/* - - /resources/* - backends: - - serviceName: "{{ .Release.Namespace }}-keycloak" - servicePort: 443 - plugins: - - name: proxy-rewrite - enable: true - config: - regex_uri: ["^/realms/(.*)","/realms/$1"] - headers: - set: - X-Forwarded-Proto: https - - - name: - {{ template "cors" . }} - ---- -{{- end }} - {{- end }}