mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 01:13:05 +00:00
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
|