Bug 1311270 - PUT not Post, at least for RoleBinding
Summary: PUT not Post, at least for RoleBinding
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Timothy
QA Contact: weiwei jiang
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks: 1340460
TreeView+ depends on / blocked
 
Reported: 2016-02-23 18:51 UTC by Eric Jones
Modified: 2019-09-12 09:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1340460 (view as bug list)
Environment:
OpenShift Enterprise 3.1
Last Closed: 2016-05-27 00:55:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Eric Jones 2016-02-23 18:51:30 UTC
Document URL: 
https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/rest-api-reference/#create-a-rolebinding

Section Number and Name: 
2.2.127. create a RoleBinding

Describe the issue: 
Documentation says you should use POST to create a rolebinding however in testing with the customer, we determined you need PUT instead

Suggestions for improvement: 
Verify if the documentation is correct and we should be using POST (I will log a bug on that if necessary) or if PUT was the intended command, and the documentation needs to be corrected.

Additional Information:
This was specifically done using `curl` and it even had to have -XPUT, not POST or just PUT.

Comment 3 Timothy 2016-05-27 00:55:32 UTC
Thank you so much, Weiwei!

Turns out this is not a bug in the documentation. 

Eric, feel free to log a bug on the product for your original issue.


Note You need to log in before you can comment on or make changes to this bug.