Files
homelab/dmz/authentik/templates/cert.yaml
2025-05-10 10:28:13 -05:00

31 lines
641 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: auth-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`auth.durp.info`) && PathPrefix(`/`)
kind: Rule
services:
- name: ak-outpost-dmz-embedded-outpost
port: 9000
tls:
secretName: authentik-outpost-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: authentik-outpost-tls
spec:
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
secretName: authentik-outpost-tls
commonName: "authentik.durp.info"
dnsNames:
- "authentik.durp.info"
- "authentik.durp.info"