diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-05-10 09:30:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-10 09:30:09 +0000 |
commit | efbf23bc3ca6db1896524a57479d9aa4c00d9ebc (patch) | |
tree | 772d3c02f2e9ee646d1ec289124a3671ac4afb9a /kubernetes/helm | |
parent | eba7bf724a4268e3feee65d9a30ff7e9a1ea039a (diff) | |
parent | 9a4593bdf49cff5b3b1cd4f5356dd7ec629355c4 (diff) |
Merge "[COMMON] Fix trailing blanks in shell scripts"
Diffstat (limited to 'kubernetes/helm')
-rwxr-xr-x | kubernetes/helm/plugins/deploy/deploy.sh | 4 | ||||
-rwxr-xr-x | kubernetes/helm/plugins/undeploy/undeploy.sh | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/kubernetes/helm/plugins/undeploy/undeploy.sh b/kubernetes/helm/plugins/undeploy/undeploy.sh index 8191174314..e5c0c12711 100755 --- a/kubernetes/helm/plugins/undeploy/undeploy.sh +++ b/kubernetes/helm/plugins/undeploy/undeploy.sh @@ -2,7 +2,7 @@ usage() { cat << EOF -Delete an umbrella Helm Chart, and its subcharts, that was previously deployed using 'Helm deploy'. +Delete an umbrella Helm Chart, and its subcharts, that was previously deployed using 'Helm deploy'. Example of deleting all Releases that have the prefix 'demo'. $ helm undeploy demo |