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

Add support for CSI driver gcp.csi.confidential.cloud #146

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

ps-occrp
Copy link
Contributor

@ps-occrp ps-occrp commented Jul 6, 2023

Add supports for CSI driver used by constellation as reported at vmware-tanzu/velero#6470

@codecov-commenter
Copy link

Codecov Report

Merging #146 (bece7b4) into main (fef6f6d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   22.00%   22.00%           
=======================================
  Files           3        3           
  Lines         468      468           
=======================================
  Hits          103      103           
  Misses        361      361           
  Partials        4        4           
Impacted Files Coverage Δ
velero-plugin-for-gcp/volume_snapshotter.go 28.62% <100.00%> (ø)

@blackpiglet
Copy link
Collaborator

The code change looks good, but could you help to also add some test cases for the CSI driver handling change? The new UT should be added in TestGetVolumeID and TestSetVolumeID in velero-plugin-for-gcp/volume_snapshotter_test.go.

Signed-off-by: Pujan Shah <pujan.shah@occrp.org>
@ps-occrp
Copy link
Contributor Author

@blackpiglet I have copied test cases from pd.csi.storage.gke.io. let me know if there should be tests specifically tailored for gcp.csi.confidential.cloud

@ps-occrp
Copy link
Contributor Author

When can this be merged?

@blackpiglet
Copy link
Collaborator

@qiuming-best @reasonerjt
Please help to take a look at this PR.

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