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

Updates to CLI flag grouping + deprecated flag warnings. #5937

Merged
merged 5 commits into from
Aug 2, 2022

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Aug 2, 2022

Proposed Changes

  • When updating the K3s docs, I noticed several inconsistencies in the spelling and grouping of K3s flags. These have been fixed
  • Previously deprecated flags have been hidden and a warning has been added to each that informs the user of their removal in v1.25

Types of Changes

Verification

k3s server -h
-cluster-secret --no-flannel and no-deploy now shows a warning log on startup the k3s server

Testing

N/A

Linked Issues

#6110

User-Facing Change

Deprecated flags now warn of their v1.25 removal

Further Comments

Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola requested a review from a team as a code owner August 2, 2022 17:30
@dereknola dereknola merged commit 118a68c into k3s-io:master Aug 2, 2022
@dereknola dereknola deleted the fix-cli branch August 8, 2022 17:20
nikolaishields pushed a commit to nikolaishields/k3s that referenced this pull request Sep 14, 2022
* Consolidate data dir flag
* Group cluster flags together
* Reorder and group agent flags
* Add additional info around vmodule flag
* Hide deprecated flags, and add warning about their removal

Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Nikolai Shields <nikolai@nikolaishields.com>
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.

3 participants