Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Restricting project counts and names|
|Product:||OpenShift Container Platform||Reporter:||Boris Kurktchiev <kurktchiev>|
|Component:||RFE||Assignee:||Paul Weil <pweil>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:||weiwei jiang <wjiang>|
|Version:||3.1.0||CC:||aos-bugs, cewong, erich, jokerman, mmccomas, rhowe, wsun|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|:||1389522 (view as bug list)||Environment:|
|Last Closed:||2016-09-28 07:38:45 EDT||Type:||Bug|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Boris Kurktchiev 2016-02-09 16:01:45 EST
Description of problem: I am in the need of restricting the project count and the name a user can have. I have been provided with: https://github.com/openshift/origin/pull/6571 and https://github.com/openshift/openshift-docs/pull/1476/files as pointers by firstname.lastname@example.org. Based on the information he mentioned that this in upstream with possible 3.2 release. In our environment (education space), it is a pretty important thing to have as resources are a bit more finite and project count limits in conjunction with resource quota and limits allows us to maximize what we offer our customers for free. The second part of the bug report neither myself nor Ryan have been able to find much info on. In v2 currently, we are able to restrict the namespace by doing a couple of simple code modifications which allow us to restrict the project name to the user's username (as an example), thus providing a simple audit trail for troubleshooting/etc. Will there be any chance of getting this functionality added, as modifying v3 is a bit harder than it is with v2 :)?
Comment 1 Dan McPherson 2016-02-10 09:37:16 EST
This is related: https://trello.com/c/GsCfvXWA Will release with 3.2. This will allow you to configure the system so only N projects can be created per user.
Comment 2 Boris Kurktchiev 2016-02-10 09:48:42 EST
So I am guessing that my second request should be filed as an RFE? Also, there is one last thing that we are currently able to do in v2 with a few lines of code changed. The public hostname of a route. Right now we can only limit to say *.ose.devapps.unc.edu in v3, but is there some mechanism to insert say their username for their project ex: User: boris hostnames available: *-boris.ose.devapps.unc.edu
Comment 3 Cesar Wong 2016-02-10 10:05:43 EST
I've created a Trello card for the second part here: https://trello.com/c/vllOT4mI/613-provide-a-way-to-limit-names-of-projects-created-by-end-users-to-a-name-based-on-user-information
Comment 4 Cesar Wong 2016-02-10 10:06:56 EST
Boris there isn't a current mechanism that I know of to default the route name. Sounds like another RFE.
Comment 5 Dan McPherson 2016-04-15 09:14:53 EDT
This is similar to: https://bugzilla.redhat.com/show_bug.cgi?id=1257760
Comment 6 weiwei jiang 2016-05-06 06:48:22 EDT
Since the feature "project request limitation" will be released in 3.2, so verify this.