Bug 1484958
| Summary: | namespaces that use reserved names and were not created by infrastructure components should be blocked | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Max Whittingham <mwhittin> |
| Component: | Master | Assignee: | Jordan Liggitt <jliggitt> |
| Status: | CLOSED ERRATA | QA Contact: | Chuan Yu <chuyu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.1 | CC: | aos-bugs, jliggitt, jokerman, mmccomas, vjaypurk |
| Target Milestone: | --- | Keywords: | OpsBlocker |
| Target Release: | 3.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-08 03:15:23 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: | |
| Embargoed: | |||
|
Description
Max Whittingham
2017-08-24 16:19:31 UTC
These are checked for and blocked in 3.6.0 Verified with 3.6.173.0.13, here is the verified steps: 1.login to openshift as normal user 2.try to create new project with reserved name, openshift-, kube-, etc. all failed: $ oc new-project openshift-shared-services Error from server (Forbidden): project.project.openshift.io "openshift-shared-services" is forbidden: cannot request a project starting with "openshift-" $ oc new-project kube-shared-services Error from server (Forbidden): project.project.openshift.io "kube-shared-services" is forbidden: cannot request a project starting with "kube-" # openshift version openshift v3.6.173.0.13 kubernetes v1.6.1+5115d708d7 etcd 3.2.1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2642 |