Files
HetznerTerra/infrastructure/addons/rancher/rancher-tailscale-service.yaml
MichaelFisher1997 c9df11e65f
All checks were successful
Deploy Cluster / Terraform (push) Successful in 49s
Deploy Cluster / Ansible (push) Successful in 6m1s
fix: Align Rancher tailnet hostname with live proxy
2026-03-28 23:47:09 +00:00

23 lines
448 B
YAML

apiVersion: v1
kind: Service
metadata:
name: rancher-tailscale
namespace: cattle-system
annotations:
tailscale.com/hostname: rancher-1
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: 443