helm/headscale/webui/ingress.yaml

25 lines
687 B
YAML
Raw Normal View History

2023-09-06 04:40:25 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: headscale-webui
labels:
name: headscale-webui
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: 'true'
traefik.ingress.kubernetes.io/router.tls.certresolver: default
traefik.ingress.kubernetes.io/router.tls.domains.0.main: wetofu.me
traefik.ingress.kubernetes.io/router.tls.domains.0.sans: '*.wetofu.me'
spec:
rules:
- host: hs.wetofu.me
http:
paths:
- pathType: Prefix
path: "/admin"
backend:
service:
name: headscale-webui
port:
number: 5000