diff --git a/docker/services/swift-proxy.yaml b/docker/services/swift-proxy.yaml index 7d4d7a587d..23da11b071 100644 --- a/docker/services/swift-proxy.yaml +++ b/docker/services/swift-proxy.yaml @@ -51,6 +51,12 @@ parameters: type: boolean description: Flag to indicate undercloud upgrade process is being run. default: false + DeployIdentifier: + default: '' + type: string + description: > + Setting this to a unique value will re-run any deployment tasks which + perform configuration on a Heat stack-update. conditions: @@ -193,6 +199,13 @@ outputs: - /var/lib/docker-config-scripts/set_swift_keymaster_key_id.sh:/set_swift_keymaster_key_id.sh:ro user: root command: "/set_swift_keymaster_key_id.sh" + environment: + # NOTE: this should force this container to re-run on each + # update (scale-out, etc.) + - list_join: + - '' + - - 'TRIPLEO_DEPLOY_IDENTIFIER=' + - {get_param: DeployIdentifier} - {} - swift_proxy: image: *swift_proxy_image