dockerfile-maven icon indicating copy to clipboard operation
dockerfile-maven copied to clipboard

Basic support for using kubernetes passwords using the OpenShift client

Open dwimsey opened this issue 7 years ago • 1 comments

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

dwimsey avatar Jun 17 '18 21:06 dwimsey

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.

mattnworb avatar Oct 08 '18 18:10 mattnworb