Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.77 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.77 KB

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: