config proxy settings inside glance_api container
Adding the capability to configure settings for http_proxy https_proxy and no_proxy inside glance_api container. This is required when import images from external http resources behind a proxy. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Closes-bug: #1775815 Change-Id: I85661f04311d5671adecc84c470f2e4db07cfe1d
This commit is contained in:
parent
ab5fd56bb0
commit
87043bc918
@ -7,6 +7,7 @@ glance_services:
|
||||
group: glance-api
|
||||
enabled: true
|
||||
image: "{{ glance_api_image_full }}"
|
||||
environment: "{{ container_proxy }}"
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
|
@ -13,6 +13,7 @@
|
||||
common_options: "{{ docker_common_options }}"
|
||||
name: "{{ service.container_name }}"
|
||||
image: "{{ service.image }}"
|
||||
environment: "{{ service.environment }}"
|
||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
||||
when:
|
||||
- kolla_action != "config"
|
||||
|
@ -118,6 +118,7 @@
|
||||
common_options: "{{ docker_common_options }}"
|
||||
name: "{{ item.value.container_name }}"
|
||||
image: "{{ item.value.image }}"
|
||||
environment: "{{ item.value.environment | default(omit) }}"
|
||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
||||
register: check_glance_containers
|
||||
when:
|
||||
|
Loading…
Reference in New Issue
Block a user