File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ var generation int64
45
45
type ActionType int64
46
46
47
47
// Constants for ActionTypes.
48
- // Note : When you add a new ActionType, you must update the following:
48
+ // CAUTION for contributors : When you add a new ActionType, you must update the following:
49
49
// - The list of basic, podOnly, and nodeOnly.
50
50
// - String() method.
51
51
const (
@@ -145,6 +145,8 @@ type EventResource string
145
145
146
146
// Constants for GVKs.
147
147
//
148
+ // CAUTION for contributors: When you add a new EventResource, you must register a new one to allResources.
149
+ //
148
150
// Note:
149
151
// - UpdatePodXYZ or UpdateNodeXYZ: triggered by updating particular parts of a Pod or a Node, e.g. updatePodLabel.
150
152
// Use specific events rather than general ones (updatePodLabel vs update) can make the requeueing process more efficient
@@ -219,6 +221,7 @@ var (
219
221
CSIStorageCapacity ,
220
222
StorageClass ,
221
223
ResourceClaim ,
224
+ ResourceSlice ,
222
225
DeviceClass ,
223
226
}
224
227
)
You can’t perform that action at this time.
0 commit comments