refactor: Update JOIN_TOKEN and LABELS in install-node.sh

This commit is contained in:
Bram Kelchtermans 2024-07-07 21:51:30 +02:00
parent 653ee01ec8
commit 1b28458c35
1 changed files with 2 additions and 2 deletions

View File

@ -40,13 +40,13 @@ TELEPORT_PACKAGE_NAME='teleport'
REPO_CHANNEL='' REPO_CHANNEL=''
TARGET_HOSTNAME='dev.bramkelchtermans.be' TARGET_HOSTNAME='dev.bramkelchtermans.be'
TARGET_PORT='443' TARGET_PORT='443'
JOIN_TOKEN='70649dc2f5d16138ef278c368aeac0a3' JOIN_TOKEN='58fe5e63aae7ddb2a1fd9d6a0dbb7763'
JOIN_METHOD='' JOIN_METHOD=''
JOIN_METHOD_FLAG="" JOIN_METHOD_FLAG=""
[ -n "$JOIN_METHOD" ] && JOIN_METHOD_FLAG="--join-method ${JOIN_METHOD}" [ -n "$JOIN_METHOD" ] && JOIN_METHOD_FLAG="--join-method ${JOIN_METHOD}"
# inject labels into the configuration # inject labels into the configuration
LABELS='teleport.internal/resource-id=d082b3d8-e775-4572-ad6c-473b131c739e' LABELS='teleport.internal/resource-id=4570bdc4-023e-48c2-b690-b7260d3cc9b5'
LABELS_FLAG=() LABELS_FLAG=()
[ -n "$LABELS" ] && LABELS_FLAG=(--labels "${LABELS}") [ -n "$LABELS" ] && LABELS_FLAG=(--labels "${LABELS}")