Add descriptions for auth_strategy choices
Starting with oslo.config 5.2.0, provided config choices can
include a description in the generated config sample if one
is provided. Without a description, it states "No description
provided". This adds descriptions to the auth_strategy config
option choices for better clarity.
@@ -155,7 +155,8 @@ global_opts = [
help='The full class name of the volume backup API class'),
cfg.StrOpt('auth_strategy',
default='keystone',
- choices=['noauth', 'keystone'],
+ choices=[('noauth', 'Do not perform authentication'),
+ ('keystone', 'Authenticate using keystone')],
help='The strategy to use for auth. Supports noauth or '
'keystone.'),
cfg.ListOpt('enabled_backends',
