Automatic namespace creation doesn't appear to issue roles for user
utherp0 opened this issue · 2 comments
utherp0 commented
Doing a basic demo of the Operator - created a userconfig against the provider with the spec:
objectTemplate: |
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Name }}-sandbox
When a user logs in the namespace is created correctly, but the user has no access to it and doesn't see it.
Is this as intended and I'm missing something?
thedulus commented
You should add a rolebinding for your user, take a look at the examples: https://github.com/redhat-cop/namespace-configuration-operator/blob/master/examples/user-sandbox/user-config.yaml#L13-L26
raffaelespazzoli commented
may I close this?