-
Notifications
You must be signed in to change notification settings - Fork 190
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
feat: support specifying the volume attributes class for PVCs #8783
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8783 +/- ##
==========================================
+ Coverage 60.27% 60.54% +0.26%
==========================================
Files 381 381
Lines 46158 46149 -9
==========================================
+ Hits 27823 27939 +116
+ Misses 15673 15544 -129
- Partials 2662 2666 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cf6578a
to
dbe3a14
Compare
apis/apps/v1/deprecated.go
Outdated
Resources: r.Resources, | ||
StorageClassName: r.getStorageClassName(viper.GetString(constant.CfgKeyDefaultStorageClass)), | ||
VolumeMode: r.VolumeMode, | ||
VolumeAttributesClassName: r.VolumeAttributesClassName, | ||
} | ||
} | ||
|
||
// getStorageClassName returns PersistentVolumeClaimSpec.StorageClassName if a value is assigned; otherwise, | ||
// it returns preferSC argument. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
dbe3a14
to
4475349
Compare
/approve |
/cherry-pick release-1.0-beta |
🤖 says: cherry pick action finished successfully 🎉! |
(cherry picked from commit 4760c20)
close #8781