Merge pull request #138 from SuperQ/kubeapi_help
Add misssing help text
This commit is contained in:
commit
f00d6f9b5a
@ -14,7 +14,7 @@ export -f aptEnable
|
|||||||
|
|
||||||
kubeapiEnable(){
|
kubeapiEnable(){
|
||||||
local -r comment='iX Custom Rule to drop connection requests to k8s cluster from external sources'
|
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
|
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}"
|
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
|
else
|
||||||
|
@ -10,7 +10,8 @@ echo "--delete-backup | Opens a menu to delete backups on your system"
|
|||||||
echo "--list-backups | Prints a list of backups available"
|
echo "--list-backups | Prints a list of backups available"
|
||||||
echo "--helm-enable | Enables Helm command access on SCALE"
|
echo "--helm-enable | Enables Helm command access on SCALE"
|
||||||
echo "--apt-enable | Enables Apt 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 "--kubeapi-enable | Enables external access to Kuberntes API port"
|
||||||
|
echo "--dns | List all of your applications DNS names and their web ports"
|
||||||
echo
|
echo
|
||||||
echo -e "${BWhite}Update Options${Color_Off}"
|
echo -e "${BWhite}Update Options${Color_Off}"
|
||||||
echo "-U | Update all applications, ignores versions"
|
echo "-U | Update all applications, ignores versions"
|
||||||
|
Loading…
Reference in New Issue
Block a user