Merge "Add DeployIdentifier to Swift set_swift_secret container"

This commit is contained in:
Zuul 2018-04-28 13:54:19 +00:00 committed by Gerrit Code Review
commit 68a9a1c96a

View File

@ -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