198786df2b
Depends-on: https://review.opendev.org/772142 Depends-on: https://review.opendev.org/790953 Change-Id: Ica5dae36cfabafd5b4dfbb8b9093e5d269c5cbe0
66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
OpenStack Barbican client configuration
|
|
|
|
parameters:
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
ServiceData:
|
|
default: {}
|
|
description: Dictionary packing service data
|
|
type: json
|
|
ServiceNetMap:
|
|
default: {}
|
|
description: Mapping of service_name -> network name. Typically set
|
|
via parameter_defaults in the resource registry. Use
|
|
parameter_merge_strategies to merge it with the defaults.
|
|
type: json
|
|
RoleName:
|
|
default: ''
|
|
description: Role name on which the service is applied
|
|
type: string
|
|
RoleParameters:
|
|
default: {}
|
|
description: Parameters specific to the role
|
|
type: json
|
|
KeystoneRegion:
|
|
type: string
|
|
default: 'regionOne'
|
|
description: Keystone region for endpoint
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Barbican client.
|
|
value:
|
|
service_name: barbican_client
|
|
service_config_settings:
|
|
nova_compute:
|
|
nova::key_manager::backend: barbican
|
|
nova::key_manager::barbican::barbican_endpoint:
|
|
get_param: [EndpointMap, BarbicanInternal, uri]
|
|
nova::key_manager::barbican::auth_endpoint:
|
|
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
|
|
nova::key_manager::barbican::barbican_region_name:
|
|
get_param: KeystoneRegion
|
|
cinder_api: &cinder_barbican_config
|
|
cinder::keymgr_backend: barbican
|
|
cinder::keymgr_encryption_api_url:
|
|
get_param: [EndpointMap, BarbicanInternal, uri]
|
|
cinder::keymgr_encryption_auth_url:
|
|
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
|
|
cinder_volume: *cinder_barbican_config
|
|
cinder_backup: *cinder_barbican_config
|
|
glance_api: &glance_barbican_config
|
|
glance::key_manager::backend: barbican
|
|
glance::key_manager::barbican::barbican_endpoint:
|
|
get_param: [EndpointMap, BarbicanInternal, uri]
|
|
glance::key_manager::barbican::auth_endpoint:
|
|
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
|
|
glance::key_manager::barbican::barbican_region_name:
|
|
get_param: KeystoneRegion
|
|
glance_api_edge: *glance_barbican_config
|