Skip to content

Conversation

Pearl1594
Copy link
Contributor

Description

This PR adds support to deploy the CSI driver when deploying CKS clusters. It isn't setup by default, only done when the enablecsi parameter is passed. Also added support for snapshot related APIs for the project level user to allow snapshots of persistent volumes at project level

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copy link

github-actions bot commented Aug 8, 2025

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

Copy link

codecov bot commented Aug 19, 2025

Codecov Report

❌ Patch coverage is 2.12766% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.34%. Comparing base (f2d6356) to head (80f551c).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...r/actionworkers/KubernetesClusterActionWorker.java 3.70% 26 Missing ⚠️
.../cloud/kubernetes/cluster/KubernetesClusterVO.java 0.00% 6 Missing ⚠️
...er/actionworkers/KubernetesClusterStartWorker.java 0.00% 6 Missing ⚠️
...kubernetes/cluster/CreateKubernetesClusterCmd.java 0.00% 3 Missing ⚠️
...dstack/api/response/KubernetesClusterResponse.java 0.00% 3 Missing ⚠️
...bernetes/cluster/KubernetesClusterManagerImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #11419      +/-   ##
============================================
- Coverage     17.35%   17.34%   -0.02%     
- Complexity    15230    15271      +41     
============================================
  Files          5886     5886              
  Lines        525685   527568    +1883     
  Branches      64159    65017     +858     
============================================
+ Hits          91247    91493     +246     
- Misses       424138   425753    +1615     
- Partials      10300    10322      +22     
Flag Coverage Δ
uitests 3.62% <ø> (-0.02%) ⬇️
unittests 18.38% <2.12%> (-0.02%) ⬇️

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Pearl1594
Copy link
Contributor Author

@blueorangutan package

@Pearl1594 Pearl1594 requested a review from shwstppr August 19, 2025 17:27
@Pearl1594 Pearl1594 force-pushed the add-support-csi-projects branch from 4fb7b37 to 4e53e96 Compare August 21, 2025 12:52
@kiranchavala
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14731

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1.0% Coverage on New Code (required ≥ 40%)
26.8% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants