Files
HetznerTerra/infrastructure/addons/rancher/rancher-tailscale-service.yaml
MichaelFisher1997 a81da0d178
All checks were successful
Deploy Cluster / Terraform (push) Successful in 52s
Deploy Cluster / Ansible (push) Successful in 6m42s
feat: Expose Rancher via Tailscale hostname
2026-03-28 03:59:02 +00:00

23 lines
446 B
YAML

apiVersion: v1
kind: Service
metadata:
name: rancher-tailscale
namespace: cattle-system
annotations:
tailscale.com/hostname: rancher
tailscale.com/proxy-class: infra-stable
spec:
type: LoadBalancer
loadBalancerClass: tailscale
selector:
app: cattle-system-rancher
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
- name: https
port: 443
protocol: TCP
targetPort: 444