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

More meaningful credential names #2

Merged
merged 2 commits into from
Jan 24, 2018
Merged

More meaningful credential names #2

merged 2 commits into from
Jan 24, 2018

Conversation

carlossg
Copy link

They apply to kubernetes, not just openshift

OpenShiftTokenCredentialImpl is not needed as there is StringCredentialsImpl

Bring ServiceAccountCredential from kubernetes plugin

@maxlaverse
Copy link

Almost. The clientId here seems to be the only value that relates to OpenShift:
https://github.com/jenkinsci/kubernetes-credentials-plugin/blob/master/src/main/java/org/jenkinsci/plugins/kubernetes/credentials/OpenShiftBearerTokenCredentialImpl.java#L117

Should we just make it configurable ?

They apply to kubernetes, not just openshift

OpenShiftTokenCredentialImpl is not needed as there is StringCredentialsImpl
@carlossg
Copy link
Author

ok, I have kept OpenShiftBearerTokenCredentialImpl.java as I only see it used in openshift

@maxlaverse maxlaverse self-requested a review January 24, 2018 08:56
@carlossg carlossg merged commit 4b110d3 into master Jan 24, 2018
@carlossg carlossg deleted the kubernetes branch January 24, 2018 09:07
Vlatombe pushed a commit to Vlatombe/kubernetes-credentials-plugin that referenced this pull request Jan 7, 2020
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.

2 participants