diff options
author | Erez Freiberger <efreiber@redhat.com> | 2017-02-09 16:26:19 +0200 |
---|---|---|
committer | Erez Freiberger <efreiber@redhat.com> | 2017-02-11 00:20:14 +0200 |
commit | 69afd8e8ff5c278cf3907ef6c7e7e1ced6247447 (patch) | |
tree | bb371cac9106aadf020b7706310e6e60a6288bfe /roles/openshift_facts | |
parent | bda3bf8cbc75d1dd9a1c4add106af3feb0563b24 (diff) | |
download | openshift-69afd8e8ff5c278cf3907ef6c7e7e1ced6247447.tar.gz openshift-69afd8e8ff5c278cf3907ef6c7e7e1ced6247447.tar.bz2 openshift-69afd8e8ff5c278cf3907ef6c7e7e1ced6247447.tar.xz openshift-69afd8e8ff5c278cf3907ef6c7e7e1ced6247447.zip |
Provisioning of nfs share and PV for logging ops
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 19 |
1 files changed, 19 insertions, 0 deletions
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, |