mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-16 04:24:53 +08:00
c64d756ea7
Tested with Rancher k3s. See k8s/README.md for site configuration and deployment instructions. Add cert-manager, tls, remote headscale script.
18 lines
348 B
YAML
18 lines
348 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
|