Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Conversation

dwimsey
Copy link

@dwimsey dwimsey commented Jun 17, 2018

This modification simply calls oc whami -t to get the kubernetes API token (which also is used for the internal docker registry authentication) and uses that for the users password when the associated server entry in the maven settings has a password of 'oc'.

Documentation and multiple context support to follow

…lient. Supports current context only at the moment
@mattnworb
Copy link
Member

Thanks for the PR. Do you happen to know if openshift support for a registry push can also be achieved by configuring docker, either by editing config.json or a credentials helper?

The latter is the path we have been taking recently to add support for other registry providers, to avoid needing to add code for each new provider/API/tool into the plugin directly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants