Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse committed Jan 23, 2025
1 parent 300ebba commit 4afbdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/k8s/create-secret.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF | kubectl apply -f -
Expand Down

0 comments on commit 4afbdeb

Please sign in to comment.