mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 07:10:14 +00:00
19 lines
430 B
YAML
19 lines
430 B
YAML
{{- if include "auth.create" . }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: traefik-forward-auth
|
|
namespace: {{ .Values.namespace }}
|
|
labels:
|
|
{{- include "common.labels" . | nindent 4 }}
|
|
annotations:
|
|
{{- include "common.annotations" . | nindent 4 }}
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: traefik-forward-auth
|
|
ports:
|
|
- name: auth
|
|
port: {{ .Values.auth.port }}
|
|
targetPort: auth
|
|
{{- end }} |