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

This commit is contained in:
Bram Kelchtermans 2024-07-08 21:44:46 +02:00
parent 1b28458c35
commit 27d33cf84b
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='58fe5e63aae7ddb2a1fd9d6a0dbb7763' JOIN_TOKEN='346a27c43e23385f1e587e2a0cf8d633'
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=4570bdc4-023e-48c2-b690-b7260d3cc9b5' LABELS='teleport.internal/resource-id=89b097a7-b617-448f-8bb9-49254147eb84'
LABELS_FLAG=() LABELS_FLAG=()
[ -n "$LABELS" ] && LABELS_FLAG=(--labels "${LABELS}") [ -n "$LABELS" ] && LABELS_FLAG=(--labels "${LABELS}")