add namespace to authentik proxy

This commit is contained in:
2024-05-16 13:44:20 -05:00
parent f98268fd25
commit 4d3574ffa8
3 changed files with 9 additions and 6 deletions

View File

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

View File

@@ -18,7 +18,7 @@ spec:
match: "Host(`{{ .Values.ingressRoute.host }}`)"
middlewares:
- name: "authentik-{{ .Release.Name }}"
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}
priority: 10
services:
- kind: Service
@@ -30,7 +30,8 @@ spec:
services:
- kind: Service
name: {{ .Values.ingressRoute.authentik.outpost }}
port: {{ .Values.ingressRoute.authentik.port }}
port: {{ .Values.ingressRoute.authentik.port }}
namespace: {{ .Values.ingressRoute.authentik.namespace }}
{{- end }}
---
@@ -54,7 +55,7 @@ spec:
match: "Host(`{{ .Values.codeserver.ingressRoute.host }}`)"
middlewares:
- name: "authentik-{{ .Release.Name }}"
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}
priority: 10
services:
- kind: Service
@@ -66,5 +67,6 @@ spec:
services:
- kind: Service
name: {{ .Values.ingressRoute.authentik.outpost }}
port: {{ .Values.ingressRoute.authentik.port }}
port: {{ .Values.ingressRoute.authentik.port }}
namespace: {{ .Values.ingressRoute.authentik.namespace }}
{{- end }}

View File

@@ -22,8 +22,9 @@ ingressRoute:
enabled: true
host:
authentik:
outpost:
outpost: ""
port: 9000
namespace: ""
metrics:
enabled: false
serviceMonitor: