Bug 1314566 - [RFE] Ability to attach labels and annotations to ProjectsRequests
Summary: [RFE] Ability to attach labels and annotations to ProjectsRequests
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 23:10 UTC by Ryan Howe
Modified: 2019-12-16 05:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-05 13:51:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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