Bug 1424927 - [trello nTdsLTZ9] Resource name displayed not correct
Summary: [trello nTdsLTZ9] Resource name displayed not correct
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: Chuan Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-20 05:43 UTC by Chuan Yu
Modified: 2019-03-29 15:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 06:12:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chuan Yu 2017-02-20 05:43:59 UTC
Description of problem:
Resource name displayed not correct

Version-Release number of selected component (if applicable):
# openshift version
openshift v1.5.0-alpha.2+eabb7e4-566
kubernetes v1.5.2+43a9be4
etcd 3.1.0

How reproducible:
Always

Steps to Reproduce:
1.run command 'oc/oadm policy scc-subject review -f resource_file' to trigger PodSecurityPolicySelfSubjectReview
2.
3.

Actual results:
$ oc policy scc-subject-review -f privileged_false.json 
RESOURCE                          ALLOWED BY   
PodSecurityPolicySubjectReview/   restricted   

Expected results:
The resource name should be 'PodSecurityPolicySelfSubjectReview'

Additional info:
The resopne body from log:
Response Body: {"kind":"PodSecurityPolicySelfSubjectReview","apiVersion":"v1","spec":{"template":{"metadata":{"creationTimestamp":null},"spec":{"volumes":[{"name":"tmp","emptyDir":{}}]......}

Comment 1 Chuan Yu 2017-02-20 06:12:50 UTC
Seems I have used the wrong resource file, this is not but, will close it.


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