summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-03-16 17:16:22 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-03-16 17:17:07 +0200
commit1c4016a882fd5d6f233e2f3b63f79aa86497f951 (patch)
tree00a7e899483d2acd13e9f2fbec7450784ed14718
parente166e3131df4e88a643a4bda9c242adde298e94e (diff)
docker: Add metadata_settings to optional parameters for yaml validate
This section will be needed for TLS-everywhere. So it should be added as optional in the yaml-validate. Change-Id: Ic6ea563b6c8e454cb51f640bb5aaa3adda82a5dd
-rwxr-xr-xtools/yaml-validate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py
index 7c04954a..c6e51858 100755
--- a/tools/yaml-validate.py
+++ b/tools/yaml-validate.py
@@ -26,7 +26,8 @@ ENDPOINT_MAP_FILE = 'endpoint_map.yaml'
REQUIRED_DOCKER_SECTIONS = ['service_name', 'docker_config', 'kolla_config',
'puppet_config', 'config_settings', 'step_config']
OPTIONAL_DOCKER_SECTIONS = ['docker_puppet_tasks', 'upgrade_tasks',
- 'service_config_settings', 'host_prep_tasks']
+ 'service_config_settings', 'host_prep_tasks',
+ 'metadata_settings']
DOCKER_PUPPET_CONFIG_SECTIONS = ['config_volume', 'puppet_tags', 'step_config',
'config_image']