feat: Expose Rancher via Tailscale hostname
All checks were successful
Deploy Cluster / Terraform (push) Successful in 52s
Deploy Cluster / Ansible (push) Successful in 6m42s

This commit is contained in:
2026-03-28 03:59:02 +00:00
parent 2a72527c79
commit a81da0d178
3 changed files with 24 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ spec:
remediation: remediation:
retries: 3 retries: 3
values: values:
hostname: k8s-cluster-cp-1-1.silverside-gopher.ts.net hostname: rancher.silverside-gopher.ts.net
tls: external tls: external
replicas: 1 replicas: 1
extraEnv: extraEnv:

View File

@@ -5,3 +5,4 @@ resources:
- helmrepository-rancher.yaml - helmrepository-rancher.yaml
- helmrelease-rancher.yaml - helmrelease-rancher.yaml
- rancher-bootstrap-password-externalsecret.yaml - rancher-bootstrap-password-externalsecret.yaml
- rancher-tailscale-service.yaml

View File

@@ -0,0 +1,22 @@
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