helm/headscale/server/ingress.yaml
Sense T ffef0a5d92 a
2022-10-01 09:09:30 +00:00

26 lines
635 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: headscale
annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: 'true'
spec:
tls:
- hosts:
- '*.wetofu.me'
secretName: wetofu-me-certs
rules:
- host: hs.wetofu.me
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: headscale
port:
number: 8080