Bug 1314566

Summary: [RFE] Ability to attach labels and annotations to ProjectsRequests
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: RFEAssignee: Michal Fojtik <mfojtik>
Status: CLOSED WONTFIX QA Contact: Wei Sun <wsun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, rhowe, stwalter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-05 13:51:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ryan Howe 2016-03-03 23:10:14 UTC
Description of problem:

When creating a project through the api users want the ability add labels and annotations with this request. 

  POST /oapi/v1/projectrequests


Right now to add labels or annotations to a project the name-space object must be modified or created with these values. 

Additional info:

https://docs.openshift.com/enterprise/3.1/rest_api/openshift_v1.html#v1-projectrequest

Comment 1 Paul Weil 2016-05-06 13:46:21 UTC
Right now the assumption is that labels and annotations are created by a highly privileged user. It is not clear what the use case is on this.  Can you give us some examples of what you'd use the labels and annotations for?

Comment 2 Ryan Howe 2016-08-19 20:45:38 UTC
Adding this to Projectrequests is not needed since labels and annotations are meant for priv users. 

Instead this request is so that one can set labels or annotations to a project with out needing to modify the namespace object.

https://docs.openshift.com/enterprise/3.1/rest_api/openshift_v1.html#create-a-project


The want for this is cut out extra api calls when creating a project.