diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-06 12:40:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 12:40:21 -0500 |
commit | 45331a37044dc0719d4bb89fe77a79aedd30e379 (patch) | |
tree | a48cd04a0314d260c0a1e91c7ec0bb668cf43214 /roles/lib_openshift | |
parent | 5efcf4a2f7e9c2f21c6f9f86dc08f12fd5f56290 (diff) | |
parent | 6a8d481c5640b76f28ab61ba21c6f38b6778b993 (diff) | |
download | openshift-45331a37044dc0719d4bb89fe77a79aedd30e379.tar.gz openshift-45331a37044dc0719d4bb89fe77a79aedd30e379.tar.bz2 openshift-45331a37044dc0719d4bb89fe77a79aedd30e379.tar.xz openshift-45331a37044dc0719d4bb89fe77a79aedd30e379.zip |
Merge pull request #5836 from jkroepke/issue_5835
Remove provisioner restrictions on oc_storageclass
Diffstat (limited to 'roles/lib_openshift')
-rw-r--r-- | roles/lib_openshift/library/oc_storageclass.py | 2 | ||||
-rw-r--r-- | roles/lib_openshift/src/ansible/oc_storageclass.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_openshift/library/oc_storageclass.py b/roles/lib_openshift/library/oc_storageclass.py index e88f3ae8d..7e7d0fa60 100644 --- a/roles/lib_openshift/library/oc_storageclass.py +++ b/roles/lib_openshift/library/oc_storageclass.py @@ -1664,7 +1664,7 @@ def main(): name=dict(default=None, type='str'), annotations=dict(default=None, type='dict'), parameters=dict(default=None, type='dict'), - provisioner=dict(required=True, type='str', choices=['aws-ebs', 'gce-pd', 'glusterfs', 'cinder']), + provisioner=dict(required=True, type='str'), api_version=dict(default='v1', type='str'), default_storage_class=dict(default="false", type='str'), ), diff --git a/roles/lib_openshift/src/ansible/oc_storageclass.py b/roles/lib_openshift/src/ansible/oc_storageclass.py index e9f3ebbd3..a8f371661 100644 --- a/roles/lib_openshift/src/ansible/oc_storageclass.py +++ b/roles/lib_openshift/src/ansible/oc_storageclass.py @@ -14,7 +14,7 @@ def main(): name=dict(default=None, type='str'), annotations=dict(default=None, type='dict'), parameters=dict(default=None, type='dict'), - provisioner=dict(required=True, type='str', choices=['aws-ebs', 'gce-pd', 'glusterfs', 'cinder']), + provisioner=dict(required=True, type='str'), api_version=dict(default='v1', type='str'), default_storage_class=dict(default="false", type='str'), ), |