diff options
author | Ryan Hallisey <rhallise@redhat.com> | 2015-10-19 16:19:45 +0000 |
---|---|---|
committer | Ryan Hallisey <rhallise@redhat.com> | 2015-11-02 19:36:51 +0000 |
commit | 092bcd9283db3379cc2ccc50499e7904d9647c25 (patch) | |
tree | c903d2f7b7931427535c7095c54e4db56bcf81ac /docker/firstboot/install_docker_agents.yaml | |
parent | 3a9186d6585d13528bf904a40556242c02ba4233 (diff) |
Add local docker registry support
Create a set of environment variables that allows us to configure
a docker registry for deployment. This patch assumes there is a
local docker registry already setup with the images loaded in place.
Change-Id: Iaafaf23eb3fa8b24bcd8f73bb38c552bea629607
Signed-off-by: Ian Main <imain@redhat.com>
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Diffstat (limited to 'docker/firstboot/install_docker_agents.yaml')
-rw-r--r-- | docker/firstboot/install_docker_agents.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/firstboot/install_docker_agents.yaml b/docker/firstboot/install_docker_agents.yaml index 8adc8939..22a8ff92 100644 --- a/docker/firstboot/install_docker_agents.yaml +++ b/docker/firstboot/install_docker_agents.yaml @@ -4,6 +4,12 @@ parameters: DockerAgentImage: type: string default: dprince/heat-docker-agents-centos + DockerNamespace: + type: string + default: kollaglue + DockerNamespaceIsRegistry: + type: boolean + default: false resources: @@ -21,6 +27,8 @@ resources: str_replace: params: $agent_image: {get_param: DockerAgentImage} + $docker_registry: {get_param: DockerNamespace} + $docker_namespace_is_registry: {get_param: DockerNamespaceIsRegistry} template: {get_file: ./start_docker_agents.sh} outputs: |