Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Developer can cf logout from a cf-k8s foundation #157

Closed
gcapizzi opened this issue Sep 21, 2021 · 1 comment
Closed

[Feature]: Developer can cf logout from a cf-k8s foundation #157

gcapizzi opened this issue Sep 21, 2021 · 1 comment
Assignees
Labels

Comments

@gcapizzi
Copy link
Contributor

gcapizzi commented Sep 21, 2021

Blockers/Dependencies

Background

cf login run against a cf-k8s foundation doesn't really perform a log in: we ask the user to select an auth-info which has been previously generated. For consistency and symmetry, we want to forget the selected auth-info on cf logout. cf logout does not remove any information about the the targeted API.

Acceptance Criteria

GIVEN I am logged into a cf-k8s foundation
WHEN I run cf logout
THEN I I should see something like this in $CF_HOME/config.json:

"CFOnK8s": {
    "Enabled": true,
    "AuthInfo": ""
}
@akrishna90 akrishna90 transferred this issue from cloudfoundry/cf-k8s-api Nov 2, 2021
gcapizzi added a commit to eirini-forks/cli that referenced this issue Nov 9, 2021
@gcapizzi
Copy link
Contributor Author

gcapizzi commented Nov 9, 2021

PR

@gcapizzi gcapizzi self-assigned this Nov 9, 2021
gcapizzi added a commit to eirini-forks/cli that referenced this issue Nov 10, 2021
gcapizzi added a commit to eirini-forks/cli that referenced this issue Nov 22, 2021
Issue: cloudfoundry/korifi#157
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Co-authored-by: Danail Branekov <danailster@gmail.com>
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
@gcapizzi gcapizzi moved this to ✅ Done in Korifi - Backlog Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants