From a69b33ac3224bf6cd65a6a8be90b89480761b01d Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 19 Dec 2023 13:03:32 +0100 Subject: [PATCH] fix ci, 6, remove debug --- deployment/decrypt-secrets.sh | 2 +- deployment/deploy.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/decrypt-secrets.sh b/deployment/decrypt-secrets.sh index e8664ef..d971ca7 100755 --- a/deployment/decrypt-secrets.sh +++ b/deployment/decrypt-secrets.sh @@ -37,7 +37,7 @@ if [ "$MD5_CHECKSUM" != "$CALCULATED_CHECKSUM" ]; then exit 1 fi -cat $TMP_FILE +# cat $TMP_FILE mv $TMP_FILE $SECRETS_PLAINTEXT_FILE diff --git a/deployment/deploy.sh b/deployment/deploy.sh index dc6531f..5f24504 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -39,8 +39,8 @@ for NAMESPACE_DIR in `find $INSTANCES_DIR -type d -mindepth 1 -maxdepth 1`; do MQTT_PASSWORD_VARIABLE="$NAMESPACE""_""$INSTANCE""_MQTT_PASSWORD" MQTT_PASSWORD_VARIABLE=`echo $MQTT_PASSWORD_VARIABLE | tr - _` MQTT_PASSWORD="${!MQTT_PASSWORD_VARIABLE}" - echo "MQTT_PASSWORD_VARIABLE: $MQTT_PASSWORD_VARIABLE" - echo "MQTT_PASSWORD: $MQTT_PASSWORD" + # echo "MQTT_PASSWORD_VARIABLE: $MQTT_PASSWORD_VARIABLE" + # echo "MQTT_PASSWORD: $MQTT_PASSWORD" kubectl create secret generic $INSTANCE-mqtt-password \ --from-literal=MQTT_PASSWORD="$MQTT_PASSWORD" \ --dry-run=client \