From 00b51cd6a8e36dcefdeb892f0d2f3468e3ed6838 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 23 Dec 2021 18:30:28 +0000 Subject: [PATCH] Set unique hostnames for tailscale Signed-off-by: Marcus Noble --- manifests/auth-proxy/auth-proxy.yaml | 2 +- manifests/auth-proxy/non-auth-proxy.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/auth-proxy/auth-proxy.yaml b/manifests/auth-proxy/auth-proxy.yaml index 5d66a93..cec8a24 100644 --- a/manifests/auth-proxy/auth-proxy.yaml +++ b/manifests/auth-proxy/auth-proxy.yaml @@ -110,7 +110,7 @@ spec: tailscale --socket=/tmp/tailscaled.sock up \ --accept-dns=true \ --authkey=${AUTH_KEY} \ - --hostname=auth-proxy + --hostname=auth-proxy-oauth2 echo "Re-enabling incoming traffic from the cluster" wait ${PID} --- diff --git a/manifests/auth-proxy/non-auth-proxy.yaml b/manifests/auth-proxy/non-auth-proxy.yaml index b8be46d..3b51c31 100644 --- a/manifests/auth-proxy/non-auth-proxy.yaml +++ b/manifests/auth-proxy/non-auth-proxy.yaml @@ -81,7 +81,7 @@ spec: tailscale --socket=/tmp/tailscaled.sock up \ --accept-dns=true \ --authkey=${AUTH_KEY} \ - --hostname=auth-proxy + --hostname=auth-proxy-internal-proxy wait ${PID} volumes: - name: host-mappings @@ -229,7 +229,7 @@ spec: tailscale --socket=/tmp/tailscaled.sock up \ --accept-dns=true \ --authkey=${AUTH_KEY} \ - --hostname=auth-proxy + --hostname=non-auth-proxy echo "Re-enabling incoming traffic from the cluster" wait ${PID} ---