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

review token management logic in OpenShifts class #464

Open
simkam opened this issue Oct 13, 2021 · 0 comments
Open

review token management logic in OpenShifts class #464

simkam opened this issue Oct 13, 2021 · 0 comments
Labels
Milestone

Comments

@simkam
Copy link
Contributor

simkam commented Oct 13, 2021

There is OpenShifts.getToken method that returns either configured token xtf.openshift.admin/master.token or tries to load token from cluster using username and password.

On other hand there are methods that always use only configured token:

public static String getMasterToken() {
        return getToken(OpenShiftConfig.masterToken(), OpenShiftConfig.masterUsername(), OpenShiftConfig.masterPassword(),
                OpenShiftConfig.masterKubeconfig());
}
@mnovak mnovak added the major label Nov 10, 2021
@tommaso-borgato tommaso-borgato added this to the BACKLOG milestone Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants