aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/helm/plugins/deploy
diff options
context:
space:
mode:
authorGuillaume Lambert <guillaume.lambert@orange.com>2021-03-12 21:21:54 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-05-06 22:15:53 +0000
commit9a4593bdf49cff5b3b1cd4f5356dd7ec629355c4 (patch)
tree04e230bd6b60bd34993b56490860df598d4d3dea /kubernetes/helm/plugins/deploy
parent5308e409a6f0ccfdc3c6cfa649d5dbd6878671eb (diff)
[COMMON] Fix trailing blanks in shell scripts
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/ *$//g' {} + Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id813526ec21e9c39daba697448bd6dea0b4e4d70
Diffstat (limited to 'kubernetes/helm/plugins/deploy')
-rwxr-xr-xkubernetes/helm/plugins/deploy/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh
index 6267a35312..a7e394d4ae 100755
--- a/kubernetes/helm/plugins/deploy/deploy.sh
+++ b/kubernetes/helm/plugins/deploy/deploy.sh
@@ -2,7 +2,7 @@
usage() {
cat << EOF
-Install (or upgrade) an umbrella Helm Chart, and its subcharts, as separate Helm Releases
+Install (or upgrade) an umbrella Helm Chart, and its subcharts, as separate Helm Releases
The umbrella Helm Chart is broken apart into a parent release and subchart releases.
Subcharts the are disabled (<chart>.enabled=false) will not be installed or upgraded.
@@ -257,7 +257,7 @@ deploy() {
n=${#array[*]}
for (( i = n-1; i >= 0; i-- )); do
if [[ $HELM_VER = "v3."* ]]; then
- helm del "${array[i]}"
+ helm del "${array[i]}"
else
helm del "${array[i]}" --purge
fi