mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
add miniziti kubectl command
This commit is contained in:
@@ -32,6 +32,7 @@ _usage(){
|
||||
" creds\t\tprints admin user updb credentials\n"\
|
||||
" login\t\trun ziti edge login with miniziti context\n"\
|
||||
" ziti\t\tziti cli wrapper with miniziti context\n"\
|
||||
" kubectl\t\tkubectl cli wrapper with miniziti context\n"\
|
||||
" help\t\tshow these usage hints\n"\
|
||||
"\n OPTIONS\n"\
|
||||
" --quiet\t\tsuppress INFO messages\n"\
|
||||
@@ -328,6 +329,10 @@ main(){
|
||||
ziti_cli_args=("$@")
|
||||
shift "${#ziti_cli_args[@]}"
|
||||
;;
|
||||
kubectl) shift
|
||||
kubectl_wrapper "${@:-}"
|
||||
exit
|
||||
;;
|
||||
-p|--profile) validateDnsName "$2"
|
||||
MINIKUBE_PROFILE="$2"
|
||||
# sanity check the profile name input
|
||||
|
||||
Reference in New Issue
Block a user