Set unique hostnames for tailscale

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2021-12-23 18:30:28 +00:00
parent 786f724823
commit 00b51cd6a8
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 3 additions and 3 deletions

View File

@ -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}
---

View File

@ -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}
---