-
Notifications
You must be signed in to change notification settings - Fork 193
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
fix: cluster supports specifing PVC annotations and labels #8804
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8804 +/- ##
==========================================
- Coverage 60.34% 60.32% -0.03%
==========================================
Files 381 381
Lines 46215 46221 +6
==========================================
- Hits 27889 27883 -6
- Misses 15654 15664 +10
- Partials 2672 2674 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -152,7 +152,9 @@ func (r *ClusterComponentStatus) GetObjectMessage(objectKind, objectName string) | |||
func (r *ClusterComponentVolumeClaimTemplate) toVolumeClaimTemplate() corev1.PersistentVolumeClaimTemplate { | |||
return corev1.PersistentVolumeClaimTemplate{ | |||
ObjectMeta: metav1.ObjectMeta{ | |||
Name: r.Name, | |||
Labels: r.Labels, |
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.
Refer to this PR and consolidate the transformation of VCTs to PVCs and PVCTs: #8809
fix #8805
By applying different annotations to different type of PVC, Ape-local can set different IO quotas for various volumes.