helm-charts/authentik-application/templates/ingress.yaml

20 lines
No EOL
686 B
YAML

{{- if and .Values.blueprint.provider.enabled (eq .Values.blueprint.provider.type "proxy") .Values.blueprint.provider.proxy.ingress.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "authentik-application.fullname" . }}
labels:
{{- include "authentik-application.labels" . | nindent 4 }}
spec:
rules:
- host: {{ .Values.blueprint.provider.proxy.ingress.domain | quote }}
http:
paths:
- path: "/outpost.goauthentik.io/"
pathType: Prefix
backend:
name: {{ .Values.blueprint.provider.proxy.ingress.backend | quote }}
port:
name: http
{{- end }}