fix: create boilerplate to current dir
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -8,9 +8,8 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir "$1"
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \
|
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
|
tar -xz --strip=2 common/starter
|
||||||
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g"
|
find . -type f -exec sed -i "s/<CHARTNAME>/$1/g" {} \;
|
||||||
|
|
||||||
helm dep build "$1"
|
helm dep update
|
||||||
|
Reference in New Issue
Block a user