aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-27 10:04:14 +0000
committerGerrit Code Review <review@openstack.org>2017-06-27 10:04:14 +0000
commitf7062d83d794aacc74614c165a968884285da957 (patch)
treeb172dfcaa6ea4519e84c5f29c3b5a0212b86a2f2 /docker
parent86c2e0c0c8b94f252cc210b374b3571456b680f3 (diff)
parent9c1940e461867f2ce986a81fa313d7995592f0c5 (diff)
Merge "Provides a list of per-service ctlplane IPs to the workflows env"
Diffstat (limited to 'docker')
-rw-r--r--docker/docker-steps.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/docker-steps.j2 b/docker/docker-steps.j2
index b3359b17..83772028 100644
--- a/docker/docker-steps.j2
+++ b/docker/docker-steps.j2
@@ -38,6 +38,8 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
+ ctlplane_service_ips:
+ type: json
conditions:
{% for step in range(1, deploy_steps_max) %}
@@ -119,8 +121,14 @@ resources:
actions:
CREATE:
workflow: { get_resource: WorkflowTasks_Step{{step}} }
+ params:
+ env:
+ service_ips: { get_param: ctlplane_service_ips }
UPDATE:
workflow: { get_resource: WorkflowTasks_Step{{step}} }
+ params:
+ env:
+ service_ips: { get_param: ctlplane_service_ips }
always_update: true
# END service_workflow_tasks handling
{% endfor %}