Skip to content

Add dynamic service accounts in namespace matchLabel #137

Open
@cnelson

Description

@cnelson

When a namespace is created with a given label, I'd like to provision a service account in that namespace, and create rolebindings for it in other static namespaces

For example,

I have a static namespace named foo that always exists. Now when I create a new namespace with the label access: foo I'd like to

  • Automatically create a service account in the the newly created namespace
  • Create a rolebinding in the foo namespace that references this dynamically created account.

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding additional functionality or improvementspinnedPrevents stalebot from removingpriority: couldFuture work depending on bandwidth and availability

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions