From 69afd8e8ff5c278cf3907ef6c7e7e1ced6247447 Mon Sep 17 00:00:00 2001 From: Erez Freiberger Date: Thu, 9 Feb 2017 16:26:19 +0200 Subject: Provisioning of nfs share and PV for logging ops --- roles/openshift_facts/library/openshift_facts.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'roles/openshift_facts') diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 7a0642cce..97b3edd6e 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -2081,6 +2081,25 @@ class OpenShiftFacts(object): create_pvc=False ) ), + loggingops=dict( + storage=dict( + kind=None, + volume=dict( + name='logging-es-ops', + size='10Gi' + ), + nfs=dict( + directory='/exports', + options='*(rw,root_squash)' + ), + host=None, + access=dict( + modes=['ReadWriteOnce'] + ), + create_pv=True, + create_pvc=False + ) + ), logging=dict( storage=dict( kind=None, -- cgit v1.2.3