Compare commits

...

1 Commits

Author SHA1 Message Date
a5bd0b724a enable proxy auth for ha 2024-03-15 23:04:47 -06:00
2 changed files with 11 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: home-assistant name: home-assistant
version: 0.1.0 version: 0.1.1
description: Chart for Home Assistant description: Chart for Home Assistant
keywords: keywords:
- home-automation - home-automation

View File

@@ -16,12 +16,21 @@ spec:
routes: routes:
- kind: Rule - kind: Rule
match: "Host(`{{ .Values.ingressRoute.host }}`)" match: "Host(`{{ .Values.ingressRoute.host }}`)"
middlewares:
- name: "authentik-{{ .Release.Name }}"
namespace: {{ .Release.Namespace }}
priority: 10 priority: 10
services: services:
- kind: Service - kind: Service
name: {{ .Release.Name }} name: {{ .Release.Name }}
port: {{ .Values.service.http.port }} port: {{ .Values.service.http.port }}
- kind: Rule
match: "Host(`{{ .Values.ingressRoute.host }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15
services:
- kind: Service
name: {{ .Values.ingressRoute.authentik.outpost }}
port: {{ .Values.ingressRoute.authentik.port }}
{{- end }} {{- end }}
--- ---