diff options
author | Jeff Peeler <jpeeler@redhat.com> | 2016-01-08 12:20:53 -0500 |
---|---|---|
committer | Jeff Peeler <jpeeler@redhat.com> | 2016-02-12 15:35:03 -0500 |
commit | 255f4fd69e6bdf8247bc2861fa830859fffbef33 (patch) | |
tree | 53df462d373c69b05a22703e597ffe6762302315 /docker/firstboot/install_docker_agents.yaml | |
parent | 8d763fc70c33695a4752b04656d3904561cc19f3 (diff) |
Minor fixes to allow local docker registry usage
Changed the heat-docker-agents namespace to use the namespacing
specified in the environment file, which reduces modifications required
on the user when using a local registry.
Changed the start agents script to handle using a local registry both
with a namespace and without.
Change-Id: I16cc96b7ecddeeda07de45f50ffc6a880dabbba6
Diffstat (limited to 'docker/firstboot/install_docker_agents.yaml')
-rw-r--r-- | docker/firstboot/install_docker_agents.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/firstboot/install_docker_agents.yaml b/docker/firstboot/install_docker_agents.yaml index 348c1755..2858552f 100644 --- a/docker/firstboot/install_docker_agents.yaml +++ b/docker/firstboot/install_docker_agents.yaml @@ -3,7 +3,7 @@ heat_template_version: 2014-10-16 parameters: DockerAgentImage: type: string - default: tripleoupstream/heat-docker-agents + default: heat-docker-agents DockerNamespace: type: string default: kollaglue @@ -26,7 +26,10 @@ resources: config: str_replace: params: - $agent_image: {get_param: DockerAgentImage} + $agent_image: + list_join: + - '/' + - [ {get_param: DockerNamespace}, {get_param: DockerAgentImage} ] $docker_registry: {get_param: DockerNamespace} $docker_namespace_is_registry: {get_param: DockerNamespaceIsRegistry} template: {get_file: ./start_docker_agents.sh} |