Hi, I think there is an error when you create the Role, you specify the namespace: default but the namespace needs to match the one in the RoleBinding (namespace: $USERNAME).
I was getting an error before I changed it.
From the docs:
A RoleBinding may reference any Role in the same namespace. Alternatively, a RoleBinding can reference a ClusterRole and bind that ClusterRole to the namespace of the RoleBinding.
Thanks for the article, super helpful. Cheers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, I think there is an error when you create the Role, you specify the
namespace: default
but the namespace needs to match the one in the RoleBinding (namespace: $USERNAME
).I was getting an error before I changed it.
From the docs:
Thanks for the article, super helpful. Cheers.