freeleaps-ops/cluster/manifests/freeleaps-storage-system/azure-blob-storage-csi/azure-json-base64.sh
2025-01-14 06:06:45 +08:00

11 lines
213 B
Bash
Executable File

#!/usr/bin/env bash
set -eu -o pipefail
# check if the azure.json not exist
if [ ! -f azure.json ]; then
echo "azure.json file not found, exiting"
exit 1
fi
cat azure.json | base64 | awk '{printf $0}'; echo