binbashar / le-tf-infra-aws

Terraform code for Leverage Reference Architecture for AWS, designed under optimal configs for the most popular modern web and mobile applications needs.
https://www.binbash.co/leverage
Apache License 2.0
24 stars 7 forks source link

Have Leverage help with configuring Kubeconfig and refreshing credentials #599

Open diego-ojeda-binbash opened 6 days ago

diego-ojeda-binbash commented 6 days ago

Describe the Feature

Proposed commands:

  1. leverage eks configure
    1. Should discover all clusters
    2. Provide a wizard to list cluster and configure them
  2. leverage eks refresh-credentials
    1. Should discover all clusters
    2. Move to the right cluster path and run leverage tf refresh-credentials

The above could later on be integrated with Kube config files so the leverage eks refresh-credentials is called transparently.