Closed juanmatias closed 9 months ago
Adding extra comments based on @juanmatias and @diego-ojeda-binbash slack discussion.
kubectl
.kubeconfig
would be needed - perhaps it could go hand in hand with the idea of @angelofenoglio / @Franr to create a script (a little independent and reusable) that handles credentials and other interactions with the AWS API via Boto.leverage aws sso login
) and the other is how we're getting the kubectl
creds (which is in the new version of leverage
CLI).
CC: @binbashar/leverage-ref-architecture-aws-dev @binbashar/leverage-ref-architecture-aws-admin
Even if this could be seen as nice to have for a future version, for the moment we'll close this issue till customer projects actively requires it. This will give more space to work on more urgent fixes and features.
For the moment the user can get both AWS and Kubectl credentials using the leverage standard workflows
Describe the Feature
As per one of our client users request, it is desirable to be able to log in with Leverage from any directory inside a Leverage project.
Today there is a requirement to be in a layer directory to login. The idea is to allow the user to run the login command for Leverage from any directory under the Leverage project.
As per this line the login can be done from account, layer o layer-group dirs: https://github.com/binbashar/leverage/blob/master/leverage/modules/aws.py#L147
When configuring:
Expected Behavior
To be able to log in from any directory under a project.