Files
common/create.sh
Konstantin Grachev 5f0206a49d
All checks were successful
continuous-integration/drone/push Build is passing
chore: change urls
2023-03-01 18:19:22 +03:00

17 lines
346 B
Bash
Executable File

#!/usr/bin/env bash
set -exu
if [[ $# -eq 0 ]]
then
echo "No argument supplied"
exit 1
fi
mkdir "$1"
curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \
tar -xz -C "$1" --strip=2 common-chart-master/starter
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g"
helm dep build "$1"