You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While administration config of my cluster gives us a limited access by default, and require us to pass --as cluster-admin to kubectl to grant admin permissions.
Without this I cannot attach
(⎈|k8s-practical-shamir:default)cheddar at ~/bin ❯ ./kafkactl attach
Error from server (Forbidden): pods is forbidden: User "oidc:me@mycompany.com" cannot create resource "pods" in API group "" in the namespace "foobar"
command "/home/me/bin/kubectl" exited with non-zero status
I modified the config file to add
binary: kubectl --as cluster-admin
but it does not work.
The text was updated successfully, but these errors were encountered:
bmm-alc
changed the title
allow passing --as argument to kubectl to grant elevated permission
allow passing --as argument to kubectl to impersonate (ex: get elevated permissions)
Sep 6, 2024
While administration config of my cluster gives us a limited access by default, and require us to pass
--as cluster-admin
to kubectl to grant admin permissions.Without this I cannot attach
I modified the config file to add
but it does not work.
The text was updated successfully, but these errors were encountered: