diff options
author | Jose David Martin Nieto <j.david.nieto@gmail.com> | 2016-03-10 12:30:44 +0100 |
---|---|---|
committer | Jose David Martin Nieto <j.david.nieto@gmail.com> | 2016-04-20 16:41:21 +0200 |
commit | 55e36e376858d023203f4a3d7884c830109bc122 (patch) | |
tree | 4f695d1a586be8cd135aa675fbb985470d70a8ed /roles/openshift_facts/library | |
parent | 1f490c2374038669df3d2bfcb01af54361f8907e (diff) | |
download | openshift-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/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 16 |
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, |