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

Refresh token in logs is disabled for Korifi #2295

Conversation

Birdrock
Copy link
Member

Does this PR modify CLI v6, CLI v7, or CLI v8?

CLI v8. A corresponding PR is open for the v8 branch with #2294.

Description of the Change

Disables refresh token call for the cf logs command when targeting Korifi (CF on K8s). We are not using UAA for AuthN/Z, so this call was resulting in errors.

Why Is This PR Valuable?

This will allow users of Korifi to use the cf logs command without causing an error on the refresh token call.

Why Should This Be In Core?

This change extends previous core functionality to allow targeting of Korifi (CF on K8s) clusters.

Applicable Issues

[Feature]: CF CLI user can skip oauth/token requests on Korifi

How Urgent Is The Change?

This PR to update master is lower priority than #2294.

Other Relevant Parties

Korifi users.

- Configured with `Config.IsCFOnK8s`

Co-authored-by: Clint Yoshimura <clinty@vmware.com>
@MerricdeLauney MerricdeLauney requested a review from a team August 18, 2022 22:45
@MerricdeLauney
Copy link
Contributor

Requested review from cli team as i no longer have cli context

@jdgonzaleza jdgonzaleza requested review from jdgonzaleza, a-b and pivotalgeorge and removed request for a-b and pivotalgeorge August 19, 2022 16:33
@jdgonzaleza
Copy link
Contributor

Closing and moving conversation to #2294.
If this is mento to go to v8 then we first review the pr to v8 and then cherry-pick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants