Skip to content

Commit

Permalink
chore: pr cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <[email protected]>
  • Loading branch information
Pat Losoponkul committed Nov 16, 2023
1 parent 49e9401 commit cfbeaf6
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions infrastructure/charts/agent/templates/apisixroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit cfbeaf6

Please sign in to comment.