Skip to content

Commit a608a9d

Browse files
authored
feat: Add label selector to deletion api of custom object collection (#256)
1 parent b1902f4 commit a608a9d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

openapi/custom_objects_spec.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@
240240
"$ref": "#/definitions/v1.DeleteOptions"
241241
}
242242
},
243+
{
244+
"uniqueItems": true,
245+
"type": "string",
246+
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
247+
"name": "labelSelector",
248+
"in": "query"
249+
},
243250
{
244251
"name": "gracePeriodSeconds",
245252
"uniqueItems": true,
@@ -485,6 +492,13 @@
485492
"$ref": "#/definitions/v1.DeleteOptions"
486493
}
487494
},
495+
{
496+
"uniqueItems": true,
497+
"type": "string",
498+
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
499+
"name": "labelSelector",
500+
"in": "query"
501+
},
488502
{
489503
"name": "gracePeriodSeconds",
490504
"uniqueItems": true,
@@ -1748,4 +1762,4 @@
17481762
}
17491763
}
17501764
}
1751-
}
1765+
}

0 commit comments

Comments
 (0)