Merge "Enable image inject metadata properties & user roles to be ignored"

This commit is contained in:
Zuul 2019-01-16 17:33:14 +00:00 committed by Gerrit Code Review
commit e0a53f4429
2 changed files with 17 additions and 0 deletions

View File

@ -116,6 +116,14 @@ parameters:
default: 'raw' default: 'raw'
description: Desired output format for image conversion plugin. description: Desired output format for image conversion plugin.
type: string type: string
GlanceInjectMetadataProperties:
default: ''
description: Metadata properties to be injected in image.
type: comma_delimited_list
GlanceIgnoreUserRoles:
default: 'admin'
description: List of user roles to be ignored for injecting image metadata properties.
type: comma_delimited_list
GlanceEnabledImportMethods: GlanceEnabledImportMethods:
default: 'web-download' default: 'web-download'
description: > description: >
@ -311,6 +319,8 @@ outputs:
glance::api::node_staging_uri: {get_param: GlanceNodeStagingUri} glance::api::node_staging_uri: {get_param: GlanceNodeStagingUri}
glance::api::image_import_plugins: {get_param: GlanceImageImportPlugins} glance::api::image_import_plugins: {get_param: GlanceImageImportPlugins}
glance::api::image_conversion_output_format: {get_param: GlanceImageConversionOutputFormat} glance::api::image_conversion_output_format: {get_param: GlanceImageConversionOutputFormat}
glance::api::inject_metadata_properties: {get_param: GlanceInjectMetadataProperties}
glance::api::ignore_user_roles: {get_param: GlanceIgnoreUserRoles}
# NOTE: bind IP is found in hiera replacing the network name with the # NOTE: bind IP is found in hiera replacing the network name with the
# local node IP for the given network; replacement examples # local node IP for the given network; replacement examples
# (eg. for internal_api): # (eg. for internal_api):

View File

@ -0,0 +1,7 @@
---
features:
- |
Add new parameter 'GlanceInjectMetadataProperties', to add metadata
properties to be injected in image.
Add new parameter 'GlanceIgnoreUserRoles', to specify name of user
roles to be ignored for injecting metadata properties in the image.