-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 data source for volume provisioning #2495
Changes from 1 commit
216e4d4
0bdaa17
4c89dc5
29c02bc
bac19f0
22021f2
095154f
c900a72
12fc30d
7e30335
4effd1a
8c6cea4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ type TypedLocalObjectReference struct { | |
Name string | ||
// Kind indicates the type of the object reference. | ||
Kind string | ||
// APIGroup is the group for the resource being referenced | ||
APIGroup string | ||
} | ||
|
||
``` | ||
|
@@ -46,18 +48,16 @@ type PersistentVolumeStatus struct { | |
|
||
type PersistentVolumeConditionType string | ||
|
||
// These are valid conditions of Pvc | ||
// These are valid conditions of PersistentVolume | ||
const ( | ||
// An user trigger resize of pvc has been started | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PersistentVolume rather than pvc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this condition describes whether data is populated to a PersistentVolume. The comments should be fixed though. This is not about "resize". |
||
PersistentVolumeDataPopulated PersistentVolumeConditionType = "dataPopulated" | ||
PersistentVolumeDataPopulated PersistentVolumeConditionType = "DataPopulated" | ||
) | ||
|
||
type PersistentVolumeCondition struct { | ||
Type PersistentVolumeConditionType | ||
Status ConditionStatus | ||
// +optional | ||
LastProbeTime metav1.Time | ||
// +optional | ||
LastTransitionTime metav1.Time | ||
// +optional | ||
Reason string | ||
|
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.
Indent
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.
which line?