-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
Here I want to put some arguments about why another package is for good (subcmd/kubectl)
I believe that more or less the same arguments might be applied to all other subcommands which we call. PS:
you see... 100% for the whole suite :) It's not the goal... but who knows... what will convince you :) |
Hi @andrei-panov, I totally agree regarding reducing the scope of changes and making it easier to test and extend features. The issue is that these changes are outside of the scope of this PR/issue, which is for sanitizing the inputs to the logs subcommand. The repackaging work is a big refactor that should be tracked in its own issue and handled with smaller PRs that focus on one subcommand at a time. If this is something that you'd like to work on, I would encourage you to open an issue to track this either just for the Regarding the |
@dansible Please review it |
What this PR does / why we need it:
replace bash call with kubectl
Which issue(s) this PR fixes:
Fixes #326
Special notes for your reviewer:
It should be possible to follow commits to make the review. I left some methods and tests which will be deleted after review.
At the moment I can't test if it's really getting the logs because I'm missing some permission.
Release note: