Merge "Add SwiftHashPrefix parameter"

This commit is contained in:
Zuul 2021-01-06 10:22:40 +00:00 committed by Gerrit Code Review
commit da737aa20e
2 changed files with 13 additions and 0 deletions

View File

@ -35,6 +35,12 @@ parameters:
in the ring.
hidden: true
type: string
SwiftHashPrefix:
default: ''
description: A random string to be used as an extra salt when hashing to determine mappings
in the ring.
hidden: true
type: string
outputs:
role_data:
@ -43,3 +49,4 @@ outputs:
service_name: swift_base
config_settings:
swift::swift_hash_path_suffix: {get_param: SwiftHashSuffix}
swift::swift_hash_path_prefix: {get_param: SwiftHashPrefix}

View File

@ -0,0 +1,6 @@
---
features:
- |
The SwiftHashPrefix parameter allows the operator to set
Swift swift_hash_path_prefix using a Heat parameter in their
Templates.