You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
Our strategy for authenticating the cf CLI is to teach the CLI to understand and apply $KUBECONFIGwhen talking to cf-k8s foundations.
Here we want to allow users to select which auth-info they want to use from their $KUBECONFIG. We want to do this via a prompt, as part of cf login.
Acceptance Criteria
GIVEN a cf-k8s foundation exists AND I have some auth-info entries in my $KUBECONFIG AND I have targeted the foundation with cf api WHEN I run cf login THEN I am prompted with a list of the auth-info entry names AND WHEN I select one of the entries THEN I see something like this in my $CF_HOME/config.json:
"CFOnK8s": {
"Enabled": true,
"AuthInfo": "<the name of the auth-info I have just selected>"
}