From 893d23d4e90a7f2d43d15fd49a8f269e1faa9126 Mon Sep 17 00:00:00 2001 From: Daniel Mikula Date: Tue, 16 May 2023 06:34:03 +0200 Subject: [PATCH] added todos --- setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 054810b..9ebe99d 100755 --- a/setup.sh +++ b/setup.sh @@ -3,6 +3,8 @@ # Author : NTT Data AG # Date : 11-05-2023 +# TODO: create check for flags. needs to be run first. + helm_install=false app_name="" @@ -41,11 +43,12 @@ install_git () { install_sock_shop () { git clone https://github.com/microservices-demo/microservices-demo.git - cd deploy/kubernetes + cd microservices-demo/deploy/kubernetes kubectl create namespace sock-shop kubectl apply -f complete-demo.yaml echo "Getting Pods from sock-shop namespace" kubectl get pods -n sock-shop + # TODO: create check if list with pods returns and if they are ready } show_help() { @@ -54,7 +57,7 @@ Usage: $0 [options] Options: -h, --help Show help information - -m, --helm Install Helm + -m, --helm Install Helm. Set flag when you want to install helm. -a, --app Specify the app name EOF }