buildset registry: fix proxy_port error in push/pull roles
This was copy/pasta from the use_buildset_registry role; the intermediate registry has no proxy_port, and the push/pull operations don't need to use the proxy buildset registry, so remove both entries from the docker config. Change-Id: I7c2d57d027e457f4f093497938574624cd5a444c
This commit is contained in:
parent
f4db0f0979
commit
05d6187825
@ -44,12 +44,8 @@
|
||||
{
|
||||
"{{ intermediate_registry.host }}:{{ intermediate_registry.port }}":
|
||||
{"auth": "{{ (intermediate_registry.username + ":" + intermediate_registry.password) | b64encode }}"},
|
||||
"{{ intermediate_registry.host }}:{{ intermediate_registry.proxy_port }}":
|
||||
{"auth": "{{ (intermediate_registry.username + ":" + intermediate_registry.password) | b64encode }}"}
|
||||
"{{ buildset_registry.host }}:{{ buildset_registry.port }}":
|
||||
{"auth": "{{ (buildset_registry.username + ":" + buildset_registry.password) | b64encode }}"},
|
||||
"{{ buildset_registry.host }}:{{ buildset_registry.proxy_port }}":
|
||||
{"auth": "{{ (buildset_registry.username + ":" + buildset_registry.password) | b64encode }}"}
|
||||
}
|
||||
set_fact:
|
||||
new_docker_config: "{{ docker_config | combine(new_config, recursive=True) }}"
|
||||
|
@ -43,12 +43,8 @@
|
||||
{
|
||||
"{{ intermediate_registry.host }}:{{ intermediate_registry.port }}":
|
||||
{"auth": "{{ (intermediate_registry.username + ":" + intermediate_registry.password) | b64encode }}"},
|
||||
"{{ intermediate_registry.host }}:{{ intermediate_registry.proxy_port }}":
|
||||
{"auth": "{{ (intermediate_registry.username + ":" + intermediate_registry.password) | b64encode }}"}
|
||||
"{{ buildset_registry.host }}:{{ buildset_registry.port }}":
|
||||
{"auth": "{{ (buildset_registry.username + ":" + buildset_registry.password) | b64encode }}"},
|
||||
"{{ buildset_registry.host }}:{{ buildset_registry.proxy_port }}":
|
||||
{"auth": "{{ (buildset_registry.username + ":" + buildset_registry.password) | b64encode }}"}
|
||||
}
|
||||
set_fact:
|
||||
new_docker_config: "{{ docker_config | combine(new_config, recursive=True) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user