Files
infrastructure/clusters/cl01tl/platform/authentik/templates/gateway.yaml
2024-08-21 20:59:14 -05:00

30 lines
794 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: authentik-tls-gateway
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: authentik-tls-gateway
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: network
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
cert-manager.io/issuer: letsencrypt-issuer
spec:
gatewayClassName: cilium
listeners:
- name: http
protocol: HTTP
port: 80
- name: https
protocol: HTTPS
port: 443
hostname: auth.alexlebens.net
tls:
mode: Terminate
certificateRefs:
- kind: Secret
name: authentik-tls-gateway
group: ''