Skip to content

review token management logic in OpenShifts class #464

@simkam

Description

@simkam

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());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions