25 lines
687 B
YAML
25 lines
687 B
YAML
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
|