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

Warn that v1.28 will deprecate reencrypt/prepare #7848

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

dereknola
Copy link
Member

Proposed Changes

The new secrets-encrypt rework (see #7760) will be introduced in v1.28, and the prepare and reencrypt will no longer be used (its all covered in the single rotate command). This adds warning to those 2 commands.

Types of Changes

CLI Warning

Verification

Testing

Linked Issues

#7760
#7297

User-Facing Change


Further Comments

@dereknola dereknola requested a review from a team as a code owner July 3, 2023 19:02
@brandond
Copy link
Member

brandond commented Jul 3, 2023

So the plan would be to deprecate this this in 1.28, and remove it in 1.30? Since we aim for a two-minor notice period on removals?

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +4.36 🎉

Comparison is base (ce3443d) 47.13% compared to head (241d4e2) 51.49%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7848      +/-   ##
==========================================
+ Coverage   47.13%   51.49%   +4.36%     
==========================================
  Files         143      143              
  Lines       14513    14517       +4     
==========================================
+ Hits         6841     7476     +635     
+ Misses       6580     5850     -730     
- Partials     1092     1191      +99     
Flag Coverage Δ
e2etests 49.30% <100.00%> (?)
inttests 44.52% <50.00%> (+0.02%) ⬆️
unittests 19.85% <ø> (ø)

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

Impacted Files Coverage Δ
pkg/cli/secretsencrypt/secrets_encrypt.go 47.12% <100.00%> (+5.26%) ⬆️
pkg/server/secrets-encrypt.go 42.75% <100.00%> (+42.04%) ⬆️

... and 39 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dereknola
Copy link
Member Author

I think this is going to be a much shorter depreciation, because we aren't really getting rid of it, the feature is getting consolidated into a single command.

@brandond
Copy link
Member

brandond commented Jul 5, 2023

I think we still need to follow the 2-minor CLI deprecation schedule. Our CLI is essentially our API contract with other projects; we can't break things without sufficient notice even if it is part of feature consolidation.

@dereknola dereknola merged commit 4ab01f3 into k3s-io:master Jul 6, 2023
dereknola added a commit that referenced this pull request Jul 14, 2023
dereknola added a commit that referenced this pull request Jul 14, 2023
dereknola added a commit that referenced this pull request Jul 14, 2023
@dereknola dereknola deleted the se_cli_warning branch July 18, 2023 18:39
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.

4 participants