fuel-plugin-detach-keystone/environment_config.yaml
Matthew Mosesohn 3c996b17e3 Add restriction and fixed dependence on detach-database
This plugin always required detach-database plugin,
but now it is possible to add UI restrictions to
notify the user and refuse deployment.

Now plugin enablement is dependent on detach-database.
standalone-keystone role is dependent on detach-database.

Change-Id: I6ae70aea1a81d6f398de1eb40bf3352c9b278087
Related-Bug: #1476627
2015-09-19 14:16:59 +04:00

24 lines
821 B
YAML

attributes:
metadata:
restrictions:
- condition: "settings:detach-database.metadata.enabled == false"
message: "Detach Database plugin should be installed and enabled."
yaml_additional_config:
description: |
NOTE: This plugin requires the Detach Database plugin, located at
https://github.com/stackforge/fuel-plugin-detach-database
You cannot add any Keystone role nodes without enabling the plugin.
This field contains free form YAML to provide extra parameters.
type: "textarea"
weight: 52
value: |
#Uncomment and adjust to enable remote keystone
#remote_keystone: 10.20.5.22
#keystone:
# admin_token: REMOTE_KEYSTONE_TOKEN
label: "Additional config"
regex:
source: '.+'
error: "This field should not be empty"