Files
homelab-v/helm/application/templates/traefik-forward-auth/service.yaml
T
Vegard Hagen 67049f2e01 feat(helm): Introducing Helm Charts for templating
Using templates should reduce the amount of duplicated config
2023-04-09 19:28:31 +02:00

15 lines
323 B
YAML

{{- if and .Values.auth.create .Values.auth.enabled }}
apiVersion: v1
kind: Service
metadata:
name: traefik-forward-auth
namespace: {{ .Values.namespace }}
spec:
type: ClusterIP
selector:
app: traefik-forward-auth
ports:
- name: auth
port: {{ .Values.auth.port }}
targetPort: auth
{{- end }}