added todos
parent
9acb0b9bb0
commit
893d23d4e9
7
setup.sh
7
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 <app_name> Specify the app name
|
||||
EOF
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue