sealos
sealos copied to clipboard
docs(main): upgrade version for kubeadm
π€ Generated by Copilot at 496467c
Summary
π§ͺπ³π
This pull request improves the sealos tool by fixing dependency issues, refactoring code, enhancing the kubeadm configuration logic, adding unit tests, and expanding the e2e tests for different runtime versions and features. It also deletes some unused files and updates some error messages.
Sing, O Muse, of the valiant deeds of sealos, the mighty tool That runs and applies the kubernetes clusters with skill and rule How they tested and refined their code with
e2e_test_core
workflow And added many features and fixes withkubeadm_config
andgo-dockerclient
Walkthrough
- Add e2e tests for the apply command using docker and containerd as runtimes (link, link)
- Add unit tests for the setFeatureGatesConfiguration function and the kubeadm configuration logic (link)
- Add e2e tests for the run command using docker and containerd as runtimes, with different image sources and names (link, link)
- Add e2e tests for the run command using containerd as the runtime and Kubernetes v1.19.0 as the version (link)
- Update the feature gates configuration according to the Kubernetes version in the KubeadmRuntime struct (link, link, link)
- Simplify the logic of the FetchDefaultKubeadmConfig and upgradeConfig functions by using the same default kubeadm configuration for all Kubernetes versions and the existing functions for decoding and updating the configuration (link, link, link, link, link, link)
- Correct the kubeadm configuration for the controller manager by replacing experimental-cluster-signing-duration with cluster-signing-duration for Kubernetes v1.25.0 (link)
- Add more unit tests to the matrix of the e2e_test_core workflow (link)
- Update the versions of some dependencies in go.work.sum and test/e2e/go.mod to fix compatibility issues and security vulnerabilities, and to use the latest features (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
- Remove unused dependencies and packages from go.work.sum (link, link, link)
- Remove unused files
pkg/runtime/defaults/v125/default_kubeadm_config.go
andpkg/runtime/defaults/v127/default_kubeadm_config.go
(link, link) - Reorder the imports in test/e2e/apply_test.go to follow the gofmt style (link)
- Remove the word "Compress" from the error messages in test/e2e/images_test.go to make them more consistent and clear (link, link)
π€ Generated by lychee action
Summary
Status | Count |
---|---|
π Total | 649 |
β Successful | 298 |
β³ Timeouts | 0 |
π Redirected | 0 |
π» Excluded | 350 |
β Unknown | 0 |
π« Errors | 0 |
Full action output
Codecov Report
Patch and project coverage have no change.
Comparison is base (
3161cbc
) 72.97% compared to head (8974fdd
) 72.97%.
Additional details and impacted files
@@ Coverage Diff @@
## main #3371 +/- ##
=======================================
Coverage 72.97% 72.97%
=======================================
Files 8 8
Lines 618 618
=======================================
Hits 451 451
Misses 132 132
Partials 35 35
Impacted Files | Coverage Ξ | |
---|---|---|
pkg/apply/gen.go | 48.78% <0.00%> (ΓΈ) |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Whoa! Easy there, Partner!
This PR is too big. Please break it up into smaller PRs.
/cherry-pick release-v4.2
π€ says: cherry pick action finished successfully π!
See: https://github.com/labring/sealos/actions/runs/5318340108