mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-26 22:25:52 -05:00
c64d756ea7
Tested with Rancher k3s. See k8s/README.md for site configuration and deployment instructions. Add cert-manager, tls, remote headscale script.
19 lines
348 B
YAML
19 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
|