diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-04-27 20:25:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-27 20:25:19 +0000 |
commit | ad0f69e402aaff1e19a5330f3949d3f445b949b5 (patch) | |
tree | 5c9a6440a726b4e26e463d50692080fa2a2cc93a /kubernetes/contrib/tools/rke/rke_setup.sh | |
parent | f545b5b04321e75824d2eb609c1deab0a75c9509 (diff) | |
parent | 5f4af0525aacf7a13efbbcefeab436b915abc4c8 (diff) |
Merge "[COMMON] Fix condition equality bashisms"
Diffstat (limited to 'kubernetes/contrib/tools/rke/rke_setup.sh')
-rwxr-xr-x | kubernetes/contrib/tools/rke/rke_setup.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kubernetes/contrib/tools/rke/rke_setup.sh b/kubernetes/contrib/tools/rke/rke_setup.sh index cde7d4caa0..7950e0cc88 100755 --- a/kubernetes/contrib/tools/rke/rke_setup.sh +++ b/kubernetes/contrib/tools/rke/rke_setup.sh @@ -258,14 +258,14 @@ EOF helm init --service-account tiller kubectl -n kube-system rollout status deploy/tiller-deploy echo "upgrade server side of helm in kubernetes" - if [ "$USERNAME" == "root" ]; then + if [ "$USERNAME" = "root" ]; then helm version else sudo helm version fi echo "sleep 30" sleep 30 - if [ "$USERNAME" == "root" ]; then + if [ "$USERNAME" = "root" ]; then helm init --upgrade else sudo helm init --upgrade @@ -273,13 +273,13 @@ EOF echo "sleep 30" sleep 30 echo "verify both versions are the same below" - if [ "$USERNAME" == "root" ]; then + if [ "$USERNAME" = "root" ]; then helm version else sudo helm version fi echo "start helm server" - if [ "$USERNAME" == "root" ]; then + if [ "$USERNAME" = "root" ]; then helm serve & else sudo helm serve & @@ -287,7 +287,7 @@ EOF echo "sleep 30" sleep 30 echo "add local helm repo" - if [ "$USERNAME" == "root" ]; then + if [ "$USERNAME" = "root" ]; then helm repo add local http://127.0.0.1:8879 helm repo list else |