From 55e36e376858d023203f4a3d7884c830109bc122 Mon Sep 17 00:00:00 2001 From: Jose David Martin Nieto Date: Thu, 10 Mar 2016 12:30:44 +0100 Subject: added new openshift-metrics service --- roles/openshift_facts/library/openshift_facts.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'roles/openshift_facts/library') diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 9218e12ae..ad5ad900b 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1576,6 +1576,22 @@ class OpenShiftFacts(object): if 'hosted' in roles or self.role == 'hosted': defaults['hosted'] = dict( + metrics=dict( + deploy=False, + storage=dict( + kind=None, + volume=dict( + name='metrics', + size='10Gi' + ), + nfs=dict( + directory='/exports', + options='*(rw,root_squash)'), + host=None, + access_modes=['ReadWriteMany'], + create_pv=True + ) + ), registry=dict( storage=dict( kind=None, -- cgit v1.2.3