vke_wrapper is very experimental so use at your own risk. It is used to to enhaunce the developer experience of the VMware Cloud PKS (formerly VKE) CLI.
This wrapper provides the following features to the Cloud PKS CLI:
Remove need for theThe CLI now does this. :white_check_mark:vke folder set
andvke project set
commands by inferring the folder and project name based on resource name.If the folder or project name can not be inferred, present the user with a list to select from.The CLI now does this. :white_check_mark:Allow the use of the 'display name' to identify a resource.The CLI now does this. :white_check_mark:If a resource name can not be found, present the user with a list to select from.The CLI now does this. :white_check_mark:- Default to latest K8s version when using
vke cluster upgrade
Change output ofThe CLI now does this. ✅vke folder iam show
,vke project iam show
andvke cluster iam show
to display a tree of policies, roles and identites.
Use the wrapper by employing an alias, e.g.
$ alias vke="$PWD/vke_wrapper"
To ignore the alias use a backslach before the command, i.e. \vke ...
jq is used to parse JSON responses from the Cloud PKS CLI.
You may have use for some other VKE projects: