summaryrefslogtreecommitdiffstats
path: root/kubernetes/oneclick/tools/autoCreateConfig.bash
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2018-03-26 10:12:41 -0400
committerMike Elliott <mike.elliott@amdocs.com>2018-03-26 10:16:23 -0400
commit0eccf6a7e0b9c1d5d93d364d611329f4fc4dabcf (patch)
treeb0bb4270113eff8495f8d589abadcc14c14ff52e /kubernetes/oneclick/tools/autoCreateConfig.bash
parent114736eb5119b023bc5f166a3b42aaf933b0b223 (diff)
Remove deprecated oneclick scripts
As of Beijing, all ONAP deploys will use Helm directly. Please refer to README (OOM-827) for instructions on how to deploy ONAP using Helm. Change-Id: I5b9322c127f324d815d8dea23057bc60e04ed9c9 Issue-ID: OOM-828 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
Diffstat (limited to 'kubernetes/oneclick/tools/autoCreateConfig.bash')
-rw-r--r--kubernetes/oneclick/tools/autoCreateConfig.bash65
1 files changed, 0 insertions, 65 deletions
diff --git a/kubernetes/oneclick/tools/autoCreateConfig.bash b/kubernetes/oneclick/tools/autoCreateConfig.bash
deleted file mode 100644
index 99ea03e1bb..0000000000
--- a/kubernetes/oneclick/tools/autoCreateConfig.bash
+++ /dev/null
@@ -1,65 +0,0 @@
-########################################################################################
-# This script wraps {$OOM}/kubernetes/config/createConfig.sh script #
-# and will only terminated when the configuration is Completed or failed #
-# #
-# To run it, just enter the following command: #
-# ./autoCreateConfig.bash <namespace, default is "onap"> #
-########################################################################################
-#!/bin/bash
-
-
-NS=$1
-if [[ -z $NS ]]
-then
- echo "Namespace is not specified, use onap namespace."
- NS="onap"
-fi
-
-echo "Create $NS config under config directory..."
-cd ../../config
-./createConfig.sh -n $NS
-cd -
-
-
-echo "...done : kubectl get namespace
------------------------------------------------
->>>>>>>>>>>>>> k8s namespace"
-kubectl get namespace
-
-
-echo "
------------------------------------------------
->>>>>>>>>>>>>> helm : helm ls --all"
-helm ls --all
-
-
-echo "
------------------------------------------------
->>>>>>>>>>>>>> pod : kubectl get pods -n $NS -a"
-kubectl get pods -n $NS -a
-
-
-while true
-do
- echo "wait for $NS config pod reach to Completed STATUS"
- sleep 5
- echo "-----------------------------------------------"
- kubectl get pods -n $NS -a
-
- status=`kubectl get pods -n $NS -a |grep config |xargs echo | cut -d' ' -f3`
-
- if [ "$status" = "Completed" ]
- then
- echo "$NS config is Completed!!!"
- break
- fi
-
- if [ "$status" = "Error" ]
- then
- echo "
-$NS config is failed with Error!!!
-Logs are:"
- kubectl logs config -n $NS -f
- break
- fi
-done