From 1cbdf73d7ce21cff37fd900640668ad3b91933ad Mon Sep 17 00:00:00 2001 From: SuperQ Date: Mon, 26 Sep 2022 15:40:00 +0200 Subject: [PATCH] Add misssing help text Add help text for `--kubeapi-enable`. Signed-off-by: SuperQ --- includes/chores.sh | 2 +- includes/help.sh | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/includes/chores.sh b/includes/chores.sh index 3ffa533c..9f3cbc6a 100755 --- a/includes/chores.sh +++ b/includes/chores.sh @@ -14,7 +14,7 @@ export -f aptEnable kubeapiEnable(){ local -r comment='iX Custom Rule to drop connection requests to k8s cluster from external sources' -echo -e "${BWhite}Enabling Apt-Commands${Color_Off}" +echo -e "${BWhite}Enabling Kubernetes API${Color_Off}" if iptables -t filter -L INPUT 2> /dev/null | grep -q "${comment}" ; then iptables -D INPUT -p tcp -m tcp --dport 6443 -m comment --comment "${comment}" -j DROP && echo -e "${IGreen}Kubernetes API enabled${Color_Off}"|| echo -e "${IRed}Kubernetes API Enable FAILED${Color_Off}" else diff --git a/includes/help.sh b/includes/help.sh index 28258c9d..48751f0c 100755 --- a/includes/help.sh +++ b/includes/help.sh @@ -4,13 +4,14 @@ help(){ [[ $help == "true" ]] && clear -x echo "" echo -e "${BWhite}Basic Utilities${Color_Off}" -echo "--mount | Initiates mounting feature, choose between unmounting and mounting PVC data" -echo "--restore | Opens a menu to restore a \"truetool\" backup that was taken on your \"ix-applications\" dataset" -echo "--delete-backup | Opens a menu to delete backups on your system" -echo "--list-backups | Prints a list of backups available" -echo "--helm-enable | Enables Helm command access on SCALE" -echo "--apt-enable | Enables Apt command access on SCALE" -echo "--dns | list all of your applications DNS names and their web ports" +echo "--mount | Initiates mounting feature, choose between unmounting and mounting PVC data" +echo "--restore | Opens a menu to restore a \"truetool\" backup that was taken on your \"ix-applications\" dataset" +echo "--delete-backup | Opens a menu to delete backups on your system" +echo "--list-backups | Prints a list of backups available" +echo "--helm-enable | Enables Helm command access on SCALE" +echo "--apt-enable | Enables Apt command access on SCALE" +echo "--kubeapi-enable | Enables external access to Kuberntes API port" +echo "--dns | list all of your applications DNS names and their web ports" echo echo -e "${BWhite}Update Options${Color_Off}" echo "-U | Update all applications, ignores versions"