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

Removed value from warning about skipping flags #4491

Merged
merged 9 commits into from
Nov 15, 2021

Conversation

dereknola
Copy link
Contributor

@dereknola dereknola commented Nov 15, 2021

Proposed Changes

QA showed that the warning was confusing and could potentially reveal secret information.

Types of Changes

Bugfix

Verification

Same as #4464, but warning should not show value of the flag.

Linked Issues

#4449

User-Facing Change

Unknown flags in config are now silently skipped by k3s server and etcd-snapshot

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>
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 November 15, 2021 16:58
@codecov-commenter
Copy link

Codecov Report

Merging #4491 (b2316d7) into master (f18b325) will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4491      +/-   ##
==========================================
- Coverage   12.04%   12.02%   -0.02%     
==========================================
  Files         135      135              
  Lines        9175     9173       -2     
==========================================
- Hits         1105     1103       -2     
  Misses       7834     7834              
  Partials      236      236              
Flag Coverage Δ
inttests 0.76% <ø> (+<0.01%) ⬆️
unittests 11.58% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/configfilearg/parser.go 74.65% <ø> (-0.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f18b325...b2316d7. Read the comment docs.

Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola changed the title Removed warning about skipping flags Removed value from warning about skipping flags Nov 15, 2021
@dweomer dweomer merged commit 535a919 into k3s-io:master Nov 15, 2021
@dereknola dereknola deleted the k3s_etcd_config_fix branch December 7, 2021 22:02
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.

None yet

5 participants