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

Hide global flags added by embedded kubectl #1358

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

kke
Copy link
Contributor

@kke kke commented Dec 16, 2021

Fixes #1273

Can't reopen #1274 for some reason so here it is again, slightly modified. Hides the --version and --log-flush-frequency global flags that get added when importing the kubectl cmd package.

Signed-off-by: Kimmo Lehto [email protected]

@kke kke requested a review from a team as a code owner December 16, 2021 13:38
@kke kke closed this Dec 16, 2021
@kke kke reopened this Dec 16, 2021
@kke kke merged commit 814deb1 into k0sproject:main Dec 29, 2021
@kke kke deleted the hide-unused-args branch December 29, 2021 07:05
ncopa pushed a commit that referenced this pull request Jan 10, 2022
Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 814deb1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-functioning global --version and --log-flush-frequency flags
2 participants