2023-09-06 22:02:27 +02:00
|
|
|
{{- 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 }}
|
2024-07-06 20:55:27 +02:00
|
|
|
{{- with .Values.blueprint.provider.proxy.ingress.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2023-09-06 22:02:27 +02:00
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: {{ .Values.blueprint.provider.proxy.ingress.domain | quote }}
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: "/outpost.goauthentik.io/"
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
2023-09-06 22:15:09 +02:00
|
|
|
service:
|
|
|
|
name: {{ .Values.blueprint.provider.proxy.ingress.backend | quote }}
|
|
|
|
port:
|
|
|
|
name: http
|
2024-07-06 20:55:27 +02:00
|
|
|
{{- with .Values.blueprint.provider.proxy.ingress.tls }}
|
|
|
|
tls:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|