From 4afbdeb55554891fabf4a4675cc8bd6f52dc35b0 Mon Sep 17 00:00:00 2001 From: Muhammad Faizan Date: Thu, 23 Jan 2025 16:16:29 +0100 Subject: [PATCH] updated --- scripts/k8s/create-secret.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/k8s/create-secret.sh b/scripts/k8s/create-secret.sh index 6052fb35..dab6dca6 100755 --- a/scripts/k8s/create-secret.sh +++ b/scripts/k8s/create-secret.sh @@ -16,7 +16,7 @@ if [ ! -f "$COMPANION_CONFIG_PATH" ]; then fi # base64 encode the file and save it to a variable. -COMPANION_CONFIG_BASE64="$(cat $COMPANION_CONFIG_PATH | base64)" +COMPANION_CONFIG_BASE64="$(cat $COMPANION_CONFIG_PATH | jq -c | base64)" # create a secret with the base64 encoded file. cat <