summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-04-20 11:58:45 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-04-20 11:58:45 -0400
commitc64590a63e64c6edad86766fbac5bf00b176b7c4 (patch)
tree3592a0a4141b64878b89989223b4b4e0dfbf5233 /roles/openshift_facts
parentafff74593f6de2492e3ed1cbe63f68a2dfb732f3 (diff)
parent55e36e376858d023203f4a3d7884c830109bc122 (diff)
downloadopenshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.gz
openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.bz2
openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.xz
openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.zip
Merge pull request #1582 from jdnieto/openshift_metrics
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 3bdad1175..862871bd8 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1634,6 +1634,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,