update update-kubeconfig to be what eks-aws-mfa-login returns:
$ eks-aws-mfa-login mrjones 040966
Assumed EKS role for mrjones. kubectl -n mrjones-dev get pods should now work. Or you have been notified about other namespaces you have access to.
If this is your first time logging in, please run 'aws eks update-kubeconfig' from README.md instructions found in this repo
E.g. aws eks update-kubeconfig --name dev-cht-eks --profile mrjones --region eu-west-2
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.
Description
set-context
on first useupdate
update-kubeconfig
to be whateks-aws-mfa-login
returns:License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.