frappe_docker/installation/kubernetes/resources/create-mariadb-root-password-secret.sh
Revant Nandgaonkar 2162c63a48 feat: kubernetes installation
helm chart for erpnext
job resources to create, backup, migrate sites
2020-03-07 22:35:02 +05:30

10 lines
225 B
Bash
Executable file

#!/bin/bash
set -e
if [[ -z "$BASE64_PASSWORD" ]]; then
echo "BASE64_PASSWORD is not set"
exit 1
fi
envsubst '${BASE64_PASSWORD}' \
< ./mariadbrootpasswordsecret.yaml.template > ./mariadbrootpasswordsecret.yaml