aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/createConfig.sh
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-05-25 10:45:39 -0400
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-05-25 15:22:42 +0000
commit81aad2ef68e4563fefcc376d22e8cc6483e06d68 (patch)
tree066e03d2bbdc3b7b2f6c7917694ae92235ddab06 /kubernetes/config/createConfig.sh
parent8494df099dd5bb21519c9cfeaa4730cb5a94e3ef (diff)
Remove deprecated config
Now that all the configs lives in its chart, we can get rid of that big config folder, taking 200Mb+ in the git repo. Change-Id: I222ba9c64bf4dadbe4a22d61f790a8f796f2b6eb Issue-ID: OOM-10 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/config/createConfig.sh')
-rwxr-xr-xkubernetes/config/createConfig.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/kubernetes/config/createConfig.sh b/kubernetes/config/createConfig.sh
deleted file mode 100755
index 154bad58ca..0000000000
--- a/kubernetes/config/createConfig.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-usage() {
- cat <<EOF
-Usage: $0 [PARAMs]
--u : Display usage
--n [NAMESPACE] : Kubernetes namespace (required)
-EOF
-}
-
-create_namespace() {
- kubectl create namespace $1
-}
-
-create_configuration() {
- create_namespace $1
- helm install . --name "$1-config" --namespace $1 --set nsPrefix=$1
-}
-
-#MAINs
-NS=
-
-while getopts ":n:u:" PARAM; do
- case $PARAM in
- u)
- usage
- exit 1
- ;;
- n)
- NS=${OPTARG}
- ;;
- ?)
- usage
- exit
- ;;
- esac
-done
-
-if [[ -z $NS ]]; then
- usage
- exit 1
-fi
-
-printf "\n**** Creating configuration for ONAP instance: $NS\n"
-create_configuration $NS
-
-printf "**** Done ****\n"