summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-01-23 11:31:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-23 11:31:41 +0000
commit689ac949bcc6857f4ee399d70aa641b66dc90d73 (patch)
treece107222506f35463f206ff4aed95fc336677d5d
parentc73efbb203a5bd2c5abe7da5811a4922476e4a88 (diff)
parent548f08599c8ed2926d7164ac38f17e3ebf28314f (diff)
Merge "Bug fix for createAll.bas base64"
-rwxr-xr-xkubernetes/oneclick/createAll.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/oneclick/createAll.bash b/kubernetes/oneclick/createAll.bash
index 0a656ee22e..0240c83e1a 100755
--- a/kubernetes/oneclick/createAll.bash
+++ b/kubernetes/oneclick/createAll.bash
@@ -87,7 +87,7 @@ create_onap_helm() {
# assign default auth token
if [[ -z $ONAP_DEFAULT_AUTH_TOKEN ]]; then
DEFAULT_SECRET=`kubectl get secrets -n kube-system | grep default-token | awk '{ print $1}'`
- ONAP_DEFAULT_AUTH_TOKEN=`kubectl get secrets $DEFAULT_SECRET -n kube-system -o yaml | grep 'token:' | awk '{ print $2}' | base64 -d`
+ ONAP_DEFAULT_AUTH_TOKEN=`kubectl get secrets $DEFAULT_SECRET -n kube-system -o yaml | grep 'token:' | awk '{ print $2}' | base64 --decode`
fi
cmd=`echo helm install $LOCATION/$2/ --name $1-$2 --namespace $1 --set nsPrefix=$1,nodePortPrefix=$3,kubeMasterAuthToken=$ONAP_DEFAULT_AUTH_TOKEN ${HELM_VALUES_ADDITION}`