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

add exec #499

Closed
dashanji opened this issue Jun 30, 2021 · 1 comment
Closed

add exec #499

dashanji opened this issue Jun 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dashanji
Copy link

Hello,there! Can we enter the node through exec to view some information or execute some scripts ? Thank you!

@dashanji dashanji added the enhancement New feature or request label Jun 30, 2021
@mszostok
Copy link
Collaborator

mszostok commented Feb 16, 2023

Hi
as a part of #841 and #675 you will be able to easily attach a ServiceAccount with a dedicated rule that will allow you to run exec on nodes, e.g.:

kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: default
  name: exec
rules:
- apiGroups: [""]
  resources: ["exec/exec"]
  verbs: ["create"]

in older Botkube versions, you can adjust the main rbac.rules in values.yaml

rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["get", "watch", "list"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants