-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[release-1.30] Backports for 2024-07 release cycle #10497
Merged
brandond
merged 13 commits into
k3s-io:release-1.30
from
brandond:2024-07-backports_release-1.30
Jul 15, 2024
Merged
[release-1.30] Backports for 2024-07 release cycle #10497
brandond
merged 13 commits into
k3s-io:release-1.30
from
brandond:2024-07-backports_release-1.30
Jul 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also remove the wg-add script that has been unused since v1.26 dropped the legacy wireguard backend Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 047664b) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.4 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.4...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit f6942f3) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* chore: Bump Local Path Provisioner version Made with ❤️️ by updatecli --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit a0b3745) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Made with ❤️️ by updatecli (cherry picked from commit 0b41738) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit eb8bd15) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Made with ❤️️ by updatecli (cherry picked from commit 5508589) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Move snapshot structs and functions into pkg/etcd/snapshot * Move s3 client code and functions into pkg/etcd/s3 * Refactor pkg/etcd to track snapshot and s3 moves * Add support for reading s3 client config from secret * Add minio client cache, since S3 client configuration can now be changed at runtime by modifying the secret, and don't want to have to create a new minio client every time we read config. * Add tests for pkg/etcd/s3 Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit c36db53) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
k3s-io/kine@v0.11.9...v0.11.11 Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-1.30 #10497 +/- ##
================================================
- Coverage 47.61% 43.53% -4.08%
================================================
Files 177 179 +2
Lines 14830 14936 +106
================================================
- Hits 7061 6503 -558
- Misses 6452 7236 +784
+ Partials 1317 1197 -120
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dereknola
approved these changes
Jul 12, 2024
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
We shouldn't be replacing the configured server address on agents. Doing so breaks the agent's ability to fall back to the fixed registration endpoint when all servers are down, since we replaced it with the first discovered apiserver address. The fixed registration endpoint will be restored as default when the service is restarted, but this is not the correct behavior. This should have only been done on etcd-only nodes that start up using their local supervisor, but need to switch to a control-plane node as soon as one is available. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
I should have caught `[]string{cfg.NodeIP}[0]` and `[]string{envInfo.NodeIP.String()}[0]` in code review... Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This should give us more detail on how long dials take before failing, so that we can perhaps better tune the retry loop in the future. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond
force-pushed
the
2024-07-backports_release-1.30
branch
2 times, most recently
from
July 14, 2024 01:41
2d24bcb
to
14e46df
Compare
…commands Fixes an issue where running etcd-snapshot commands on a node that has a server address set in the config will manage snapshots on that server, instead of on the local node as intended. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond
force-pushed
the
2024-07-backports_release-1.30
branch
from
July 14, 2024 20:51
14e46df
to
04717e5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Backports:
Types of Changes
Verification
Testing
Linked Issues
k3s etcd-snapshot
commands run against server specified in config file, instead of local server #10525User-Facing Change
Further Comments