Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Kail without cluster role #62

Open
seilorjunior opened this issue Nov 20, 2020 · 0 comments
Open

Running Kail without cluster role #62

seilorjunior opened this issue Nov 20, 2020 · 0 comments

Comments

@seilorjunior
Copy link

Hello,

I was not be able to run Kail for just a namespace with a service account that has the full access for the given namespace.
There is away to have this on place?

./kail -n mynamespace

time="2020-11-20T13:48:22Z" level=error msg="client list: listing pods in : pods is forbidden: User "system:serviceaccount:mynamespace:mysa" cannot list pods at the cluster scope: no RBAC policy matched" cmp=lister

  | time="2020-11-20T13:48:22Z" level=error msg="lister error: client list: listing pods in : pods is forbidden: User "system:serviceaccount:mynamespace:system:serviceaccount:mynamespace:mysa" cannot list pods at the cluster scope: no RBAC policy matched" cmp=controller
  | kail: error: Unable to initialize data source

I dont want to run that with cluster role, I just want to run the Kail in single namespace with a service account that has the full access in that namespace.

@mnaser mnaser mentioned this issue Mar 21, 2023
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant