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

errro due to RBAC. how to change default user in setup #122

Open
psrao2002 opened this issue Oct 15, 2020 · 0 comments
Open

errro due to RBAC. how to change default user in setup #122

psrao2002 opened this issue Oct 15, 2020 · 0 comments

Comments

@psrao2002
Copy link

Due to the limitation of service account creation, I have used "role: test" but this isn't helping. We are restricted to creating a new service account with the name mongo, but we can leverage existing ones. What environment variable/label should I use to overcome the following issue?

Error in workloop { [Error: [object Object]]

  | message:
  | { kind: 'Status',
  | apiVersion: 'v1',
  | metadata: {},
  | status: 'Failure',
  | message:
  | 'pods is forbidden: User "system:serviceaccount:test:default" cannot list pods at the cluster scope: no RBAC policy matched',
  | reason: 'Forbidden',
  | details: { kind: 'pods' },
  | code: 403 },
  | statusCode: 403 }

@psrao2002 psrao2002 changed the title errro due to RBAC. how to change user default user errro due to RBAC. how to change default user in setup Oct 15, 2020
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