aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-02-27 14:09:48 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-02-27 14:09:48 +0800
commit6f811d4cc23e46b24aa8e2e358e01ed0dbf29259 (patch)
tree3bccc8a7253f81487dcb9c66adeffb6e1494d2b8
parent9282b64991b14a1df88b4f23e324f0addeca83af (diff)
Set storage role optional
JIRA: - storage_master and storage_node role are currently required in kubernetes scenario which cause scenario with no storage_master or storage_node fails to be deployed. Change-Id: I0fd28a7fd4a6161be96044382ea509832473dc71 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rwxr-xr-xdeploy/compass_conf/role/kubernetes_ansible.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/compass_conf/role/kubernetes_ansible.conf b/deploy/compass_conf/role/kubernetes_ansible.conf
index f86902e3..3e79cbb9 100755
--- a/deploy/compass_conf/role/kubernetes_ansible.conf
+++ b/deploy/compass_conf/role/kubernetes_ansible.conf
@@ -18,10 +18,12 @@ ROLES = [{
}, {
'role': 'storage_master',
'display_name': 'storage master',
- 'description': 'storage master'
+ 'description': 'storage master',
+ 'optional': True
}, {
'role': 'storage_node',
'display_name': 'storage node',
- 'description': 'storage node'
+ 'description': 'storage node',
+ 'optional': True
}
]