headscale/docs/examples/kubernetes/base/ingress.yaml
2022-01-02 20:04:35 +01:00

18 lines
382 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: headscale
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: $(PUBLIC_HOSTNAME)
http:
paths:
- backend:
service:
name: headscale
port:
number: 8080
path: /
pathType: Prefix