helm/headscale/server/ingress.yaml

26 lines
635 B
YAML
Raw Normal View History

2022-10-01 09:09:30 +00:00
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