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?
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
foothat always exists. Now when I create a new namespace with the labelaccess: fooI'd like tofoonamespace that references this dynamically created account.Is this possible?