Bug 1273185 - [RFE] oadm new-project needs to take template arguments
[RFE] oadm new-project needs to take template arguments
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Michal Fojtik
Johnny Liu
Depends On:
  Show dependency treegraph
Reported: 2015-10-19 17:14 EDT by Erik M Jacobs
Modified: 2017-03-23 15:25 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
default project template with quota/limit (2.35 KB, text/plain)
2015-10-19 17:15 EDT, Erik M Jacobs
no flags Details

  None (edit)
Description Erik M Jacobs 2015-10-19 17:14:38 EDT
Steps to reproduce:

1. create a project template to use as default
2. configure master to use project template as default
3. create project using "oadm new-project"

Default project template is ignored... or, at least, quota and limits sections are ignored.

Template for reference attached.

Comment 2 Erik M Jacobs 2015-10-19 17:15 EDT
Created attachment 1084539 [details]
default project template with quota/limit
Comment 3 Erik M Jacobs 2015-10-19 17:24:01 EDT
So the suggestion here is that this behavior exists because "oadm new-project" doesn't involve a projectRequest -- and the defined "default" is for projectRequests.

However, this is an unexpected user experience. "oadm new-project" should probably inherit the default template, or allow to specify a template explicitly. Having to use "oc process" to create a default-looking project for a user seems strange and cumbersome.

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