Skip to content

Fix: Updated k8s version and GitHub action workflow version #212

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

vishal210893
Copy link

@vishal210893 vishal210893 commented Jun 18, 2025

Description of your changes

Updated the k8s version and the GitHub action workflow version

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Summary by cubic

Upgraded Kubernetes dependencies to v1.31.1 and updated GitHub Actions workflows to use the latest action versions.

  • Dependencies

    • Bumped k8s-related Go modules and other dependencies to latest versions.
    • Updated workflow tools (e.g., setup-go, checkout, codecov) to latest major versions.
  • Refactors

    • Changed admission decoder type from pointer to value in webhook handlers.

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.41%. Comparing base (d7db9c4) to head (6a7fe42).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
+ Coverage   62.49%   67.41%   +4.92%     
==========================================
  Files          62       62              
  Lines        4415     5939    +1524     
==========================================
+ Hits         2759     4004    +1245     
- Misses       1324     1584     +260     
- Partials      332      351      +19     
Flag Coverage Δ
e2etests 20.32% <ø> (?)
unit-test 61.59% <ø> (-0.90%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic found 3 issues across 9 files. Review them in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic found 10 issues across 11 files. Review them in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

@vishal210893 vishal210893 force-pushed the feature/upgrade-k8s-version branch from 01c04a6 to 283c988 Compare June 22, 2025 18:38
@@ -92,7 +92,7 @@ var _ = BeforeSuite(func() {
Recorder: event.NewAPIRecorder(recorder),
}

}, 60)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

@@ -72,8 +72,7 @@ var _ = BeforeSuite(func(done Done) {
fakeDynamicClient := fake.NewSimpleDynamicClient(scheme)
singleton.DynamicClient.Set(fakeDynamicClient)

close(done)
}, 60)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

@@ -72,8 +72,7 @@ var _ = BeforeSuite(func(done Done) {
fakeDynamicClient := fake.NewSimpleDynamicClient(scheme)
singleton.DynamicClient.Set(fakeDynamicClient)

close(done)
}, 60)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

@@ -75,8 +75,7 @@ var _ = BeforeSuite(func(done Done) {
k8sClient, err = client.New(cfg, client.Options{Scheme: scheme})
Expect(err).ToNot(HaveOccurred())
Expect(k8sClient).ToNot(BeNil())
close(done)
}, 120)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

@@ -75,8 +75,7 @@ var _ = BeforeSuite(func(done Done) {
k8sClient, err = client.New(cfg, client.Options{Scheme: scheme})
Expect(err).ToNot(HaveOccurred())
Expect(k8sClient).ToNot(BeNil())
close(done)
}, 120)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

@@ -93,8 +93,7 @@ var _ = BeforeSuite(func(done Done) {
ns := corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "vela-system"}}
Expect(k8sClient.Create(ctx, &ns)).Should(BeNil())

close(done)
}, 60)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a timeout parameter that was supported earlier and not now?

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.

2 participants