feat: Expose Rancher via Tailscale hostname
This commit is contained in:
22
infrastructure/addons/rancher/rancher-tailscale-service.yaml
Normal file
22
infrastructure/addons/rancher/rancher-tailscale-service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user