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 e2e test for executing kubectl command on forbidden verbs and resources #364

Closed
wants to merge 2 commits into from
Closed

Conversation

anoopmsivadas
Copy link
Contributor

ISSUE TYPE
  • Bug fix Pull Request
SUMMARY

Added a e2e test kubectl command with forbidden verb and forbidden resource. Another one for kubctl command with allowed verb and forbidden resource

Fixes #350

Comment on lines +86 to +89
"BotKube notifier showconfig": {
command: "notifier showconfig",
expected: "<@U023BECGF> notifier showconfig",
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anoopmsivadas Can you please remove this part. This is already being addressed in the separate PR.
The rest looks good to me

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PrasadG193 so I have to remove this part and create a new pull request, right?

@anoopmsivadas
Copy link
Contributor Author

I'm closing this PR. will try not to make same mistakes with git

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

Successfully merging this pull request may close these issues.

Add e2e test for executing kubectl command on forbidden verbs and resources
2 participants