harbor/make/photon/prepare
Daniel Jiang 2064a1cd6d Switch to basic authentication for registry
1. Add basic authorizer for registry which modify the request
to add basic authorization header to request based on configuration.
2. Set basic auth header for proxy when accessing registry
3. Switche the registry to use basic auth by default and use the basic
authorizer to access Harbor.
4. Make necessary change to test cases, particularly
"test_robot_account.py" and "docker_api.py", because the error is
changed after siwtched to basic auth from token auth.  #10604 is opened
to track the follow up work.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-01-31 21:46:47 +09:00
..
templates Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
utils Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
__init__.py Refacotr the prepare script base on the proposal https://github.com/goharbor/community/pull/22 2019-03-08 16:46:13 +08:00
Dockerfile update base file name ane pass base version to build file 2019-11-12 19:12:49 +08:00
Dockerfile.base Populate basic auth information for registry 2019-12-31 14:50:46 +08:00
g.py Add default domainname for no_proxy 2019-11-27 15:10:42 +08:00
main.py Populate basic auth information for registry 2019-12-31 14:50:46 +08:00
Pipfile Upgrade the version of jinja2 2019-04-22 10:58:44 +08:00
Pipfile.lock Upgrade the version of jinja2 2019-04-22 10:58:44 +08:00