Skip to content

Reserve kube[-*] and openshift[-*] namespaces #13147

Closed

Description

@liggitt

Upstream is reserving kube-* namespaces (kube-system and kube-public are notably already used).

We should do the same with openshift[-*] namespaces and prevent those from being used in project requests (e.g. limit access to cluster admins)

Need to decide what to do on upgrade to make sure we don't bump to a level that gives power to a namespace a user previously requested as their own.

Activity

  1. liggitt commented on Feb 28, 2017

    @liggitt
    ContributorAuthor
  2. assigned
    and
    enj
    and unassigned on Mar 1, 2017
  3. self-assigned this
    on Mar 1, 2017
  4. deads2k commented on Mar 1, 2017

    @deads2k
    Contributor

    @enj this is the thing we need a pre-flight check for.

    I think we can reasonably scope the check to those namespace prefixes AND the openshift.io/requester being set. @liggitt there could be gaps with custom templates that did something different, but they should be rare....

  5. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    Contributor

    We should probably have this done if we are going to enforce it on upgrade to 3.5+...

  6. enj commented on Apr 6, 2017

    @enj
    Contributor

    The intent may have been for this check to be enabled for 3.6+?

    Maybe I will need to add that toggle to split the checks after all.

  7. liggitt commented on Apr 28, 2017

    @liggitt
    ContributorAuthor

    fixed in #13673

  8. enj commented on Apr 28, 2017

    @enj
    Contributor

    Technically the ansible bits are not complete...

  9. liggitt commented on Apr 28, 2017

    @liggitt
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions