Set unique hostnames for tailscale
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
786f724823
commit
00b51cd6a8
@ -110,7 +110,7 @@ spec:
|
|||||||
tailscale --socket=/tmp/tailscaled.sock up \
|
tailscale --socket=/tmp/tailscaled.sock up \
|
||||||
--accept-dns=true \
|
--accept-dns=true \
|
||||||
--authkey=${AUTH_KEY} \
|
--authkey=${AUTH_KEY} \
|
||||||
--hostname=auth-proxy
|
--hostname=auth-proxy-oauth2
|
||||||
echo "Re-enabling incoming traffic from the cluster"
|
echo "Re-enabling incoming traffic from the cluster"
|
||||||
wait ${PID}
|
wait ${PID}
|
||||||
---
|
---
|
||||||
|
@ -81,7 +81,7 @@ spec:
|
|||||||
tailscale --socket=/tmp/tailscaled.sock up \
|
tailscale --socket=/tmp/tailscaled.sock up \
|
||||||
--accept-dns=true \
|
--accept-dns=true \
|
||||||
--authkey=${AUTH_KEY} \
|
--authkey=${AUTH_KEY} \
|
||||||
--hostname=auth-proxy
|
--hostname=auth-proxy-internal-proxy
|
||||||
wait ${PID}
|
wait ${PID}
|
||||||
volumes:
|
volumes:
|
||||||
- name: host-mappings
|
- name: host-mappings
|
||||||
@ -229,7 +229,7 @@ spec:
|
|||||||
tailscale --socket=/tmp/tailscaled.sock up \
|
tailscale --socket=/tmp/tailscaled.sock up \
|
||||||
--accept-dns=true \
|
--accept-dns=true \
|
||||||
--authkey=${AUTH_KEY} \
|
--authkey=${AUTH_KEY} \
|
||||||
--hostname=auth-proxy
|
--hostname=non-auth-proxy
|
||||||
echo "Re-enabling incoming traffic from the cluster"
|
echo "Re-enabling incoming traffic from the cluster"
|
||||||
wait ${PID}
|
wait ${PID}
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user