26 lines
635 B
YAML
26 lines
635 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: headscale
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
kubernetes.io/ingress.class: traefik
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: 'true'
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- '*.wetofu.me'
|
|
secretName: wetofu-me-certs
|
|
rules:
|
|
- host: hs.wetofu.me
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: headscale
|
|
port:
|
|
number: 8080
|