Fixing ldap conf, initializing keto, oc-auth and co
This commit is contained in:
20
opencloud/templates/oc-auth/ingress.yaml
Normal file
20
opencloud/templates/oc-auth/ingress.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
{{- if index .Values.ocAuth.enabled }}
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: oc-auth-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/auth`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: oc-auth-svc
|
||||
passHostHeader: true
|
||||
port: 8094
|
||||
middlewares:
|
||||
- name: forwardauth
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user