-
Notifications
You must be signed in to change notification settings - Fork 290
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
Limit kubectl commands #183
Comments
@IngussNeilands we can restrict BotKube to access only specific resources by adding rules to in |
We are also adding a support to restrict command execution from a configured channel only #235 |
Would it also be possible to restrict who can run |
Using |
@PrasadG193 i can take a look on this |
@girishg4t let's finalize the BotKube configuration format before you start |
The straight forward way would be to add one more section in settings.kubectl section in resource configuration. Something like:
|
@girishg4t let me know what you think |
##### ISSUE TYPE <!--- Pick one below and delete the rest: --> - Feature Pull Request ##### SUMMARY Added configuration in resource_config.yaml for limiting kubectl commands as per the discussion given in ticket 183 The configuration added is used in slack.go and mattermost.go to pass it to executor.go and used to limit the commands execution Fixes #183
I would like to suggest adding option to limit specific kubectl commands.
For example - I would like to disable
describe secret
command, because it could reveal some sensitive data.The text was updated successfully, but these errors were encountered: