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 }