summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorJose David Martin Nieto <j.david.nieto@gmail.com>2016-03-10 12:30:44 +0100
committerJose David Martin Nieto <j.david.nieto@gmail.com>2016-04-20 16:41:21 +0200
commit55e36e376858d023203f4a3d7884c830109bc122 (patch)
tree4f695d1a586be8cd135aa675fbb985470d70a8ed /roles/openshift_facts
parent1f490c2374038669df3d2bfcb01af54361f8907e (diff)
downloadopenshift-55e36e376858d023203f4a3d7884c830109bc122.tar.gz
openshift-55e36e376858d023203f4a3d7884c830109bc122.tar.bz2
openshift-55e36e376858d023203f4a3d7884c830109bc122.tar.xz
openshift-55e36e376858d023203f4a3d7884c830109bc122.zip
added new openshift-metrics service
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py16
1 files changed, 16 insertions, 0 deletions
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,