Skip to content

Commit

Permalink
Merge pull request #6 from Xtigyro/feature/rename-main-script
Browse files Browse the repository at this point in the history
Improve Naming of Main Script. Colour Fixes for Args Menu.
  • Loading branch information
Xtigyro authored Jun 12, 2020
2 parents e812159 + d76c2f1 commit 8ddf33e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ To create a local K8s cluster in Docker container(s) with properly configured He

```bash
cd local-cluster
bash prerequisites-cmds.sh --helm_ver=3.[x].[x] # Helm ver. is optional.
bash create-nodes.sh --nodes=[1-99] --k8s_ver=1.[x].[x] # Only no. of K8s nodes is mandatory.
bash prerequisites-cmds.sh --helm_ver=3.[x].[x] # Helm ver. is optional.
bash create-cluster.sh --nodes=[1-99] --k8s_ver=1.[x].[x] # Only no. of K8s nodes is mandatory.
```

> **NOTE**: Those of you who would like to use the automation with Helm v2 - please switch to branch `helm-v2`.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ while [ $# -gt 0 ]; do
K8S_VER="${1#*=}"
;;
--help|-h)
printf "\nUsage:${LIGHT_GREEN}\n --k8s_ver,-v Set K8s version to be deployed.\n --nodes,-n Set number of K8s nodes to be created.\n --help,-h Prints this message.\n${NC}Example:${LIGHT_GREEN}\n bash $0 -n=1 -v=1.18.2${NC}\n" # Flag argument
printf "\nUsage:\n ${LIGHT_GREEN}--k8s_ver,-v${NC} Set K8s version to be deployed.\n ${LIGHT_GREEN}--nodes,-n${NC} Set number of K8s nodes to be created.\n ${LIGHT_GREEN}--help,-h${NC} Prints this message.\nExample:\n ${LIGHT_GREEN}bash $0 -n=1 -v=1.18.2${NC}\n" # Flag argument
exit 0
;;
*)
Expand Down

0 comments on commit 8ddf33e

Please sign in to comment.