Skip to content

Add features to enhance the developer experience of the VMware Cloud PKS (formerly VKE) CLI

License

Notifications You must be signed in to change notification settings

ali5ter/vke-cli-extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vke cli-extended

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.

Extensions to the Cloud PKS CLI

This wrapper provides the following features to the Cloud PKS CLI:

  • Remove need for the vke folder set and vke project set commands by inferring the folder and project name based on resource name. The CLI now does this. :white_check_mark:
  • 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 of vke folder iam show, vke project iam show and vke cluster iam show to display a tree of policies, roles and identites. The CLI now does this. ✅

Usage

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 ...

Pre-requisites

jq is used to parse JSON responses from the Cloud PKS CLI.

Other VKE utilities

You may have use for some other VKE projects:

Releases

No releases published

Packages

No packages published

Languages