summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-13 10:06:57 -0400
committerScott Dodson <sdodson@redhat.com>2016-09-26 13:58:51 -0400
commitbf0857e95cd063f85a2bbe5c7f2b69ee9b83b460 (patch)
tree77fc21408f072e83c7186b621831654e1902e660 /roles/openshift_facts/library
parent3006f38ed72af416e6b103319c59c9fee28d9e65 (diff)
downloadopenshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.gz
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.bz2
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.xz
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.zip
Add storage for logging
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py23
1 files changed, 19 insertions, 4 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index b2d007ec9..621306e67 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1811,10 +1811,25 @@ class OpenShiftFacts(object):
),
nfs=dict(
directory='/exports',
- options='*(rw,root_squash)'),
- openstack=dict(
- filesystem='ext4',
- volumeID='123'),
+ options='*(rw,root_squash)'
+ ),
+ host=None,
+ access_modes=['ReadWriteOnce'],
+ create_pv=True,
+ create_pvc=False
+ )
+ ),
+ logging=dict(
+ storage=dict(
+ kind=None,
+ volume=dict(
+ name='logging-es',
+ size='10Gi'
+ ),
+ nfs=dict(
+ directory='/exports',
+ options='*(rw,root_squash)'
+ ),
host=None,
access_modes=['ReadWriteOnce'],
create_pv=True,