Skip to content

Running Kail without cluster role #62

@seilorjunior

Description

@seilorjunior

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions