From 092bcd9283db3379cc2ccc50499e7904d9647c25 Mon Sep 17 00:00:00 2001 From: Ryan Hallisey Date: Mon, 19 Oct 2015 16:19:45 +0000 Subject: 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 Co-Authored-By: Ryan Hallisey --- docker/firstboot/install_docker_agents.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docker/firstboot/install_docker_agents.yaml') 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: -- cgit 1.2.3-korg