diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-11-09 16:18:05 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-11-09 16:18:05 -0500 |
commit | 378ca6c5642f11dd6610b012ebe4bdd296118f61 (patch) | |
tree | a24e90ee586d0a5729abf546c14f3e197d5dcaa9 /roles/lib_openshift/src | |
parent | 7900f45d2d8ef566cf3f330a33364dd217a93c1d (diff) | |
download | openshift-378ca6c5642f11dd6610b012ebe4bdd296118f61.tar.gz openshift-378ca6c5642f11dd6610b012ebe4bdd296118f61.tar.bz2 openshift-378ca6c5642f11dd6610b012ebe4bdd296118f61.tar.xz openshift-378ca6c5642f11dd6610b012ebe4bdd296118f61.zip |
removing kind restrictions from oc_edit
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/ansible/oc_edit.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/roles/lib_openshift/src/ansible/oc_edit.py b/roles/lib_openshift/src/ansible/oc_edit.py index 5c5954747..221047393 100644 --- a/roles/lib_openshift/src/ansible/oc_edit.py +++ b/roles/lib_openshift/src/ansible/oc_edit.py @@ -15,20 +15,7 @@ def main(): debug=dict(default=False, type='bool'), namespace=dict(default='default', type='str'), name=dict(default=None, required=True, type='str'), - kind=dict(required=True, - type='str', - choices=['dc', 'deploymentconfig', - 'rc', 'replicationcontroller', - 'svc', 'service', - 'scc', 'securitycontextconstraints', - 'ns', 'namespace', 'project', 'projects', - 'is', 'imagestream', - 'istag', 'imagestreamtag', - 'bc', 'buildconfig', - 'routes', - 'node', - 'secret', - 'pv', 'persistentvolume']), + kind=dict(required=True, type='str'), file_name=dict(default=None, type='str'), file_format=dict(default='yaml', type='str'), content=dict(default=None, required=True, type='dict'), |