feat: Add traefik-forward-auth Helm chart with deployment, service, ingress, middleware, and configuration templates

This commit is contained in:
sha
2026-04-19 13:21:22 +03:00
parent 26408964a0
commit 9d057b2f3e
8 changed files with 238 additions and 0 deletions
@@ -0,0 +1,29 @@
{{- range $name, $config := .Values.ingresses }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $.Release.Name }}-{{ $name }}
labels:
{{- include "tfa.labels" $ | nindent 4 }}
{{- with $config.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
- host: {{ $config.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ $.Release.Name }}
port:
number: {{ $.Values.service.port }}
{{- with $config.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}