@@ -2,7 +2,7 @@ apiVersion: apis.kcp.io/v1alpha1
22kind : APIResourceSchema
33metadata :
44 creationTimestamp : null
5- name : v250809-5ed76a1 .apiservicebindings.kube-bind.io
5+ name : v250911-7cffdae .apiservicebindings.kube-bind.io
66spec :
77 conversion :
88 strategy : None
@@ -222,6 +222,118 @@ spec:
222222 x-kubernetes-validations :
223223 - message : kubeconfigSecretRef is immutable
224224 rule : self == oldSelf
225+ permissionClaims :
226+ description : |-
227+ PermissionClaims records decisions about permission claims requested by the service provider.
228+ Access is granted per GroupResource.
229+ items :
230+ description : |-
231+ permissionClaim selects objects of a GVR that a service provider may
232+ request and that a consumer may accept and allow the service provider access to.
233+ properties :
234+ group :
235+ default : " "
236+ description : |-
237+ group is the name of an API group.
238+ For core groups this is the empty string '""'.
239+ pattern : ^(|[a-z0-9]([-a-z0-9]*[a-z0-9](\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)?)$
240+ type : string
241+ resource :
242+ description : |-
243+ resource is the name of the resource.
244+ Note: it is worth noting that you can not ask for permissions for resource provided by a CRD
245+ not provided by an service binding export.
246+ pattern : ^[a-z][-a-z0-9]*[a-z0-9]$
247+ type : string
248+ selector :
249+ description : Selector is a resource selector that selects objects
250+ of a GVR.
251+ properties :
252+ all :
253+ description : |-
254+ all claims all resources for the given group/resource.
255+ This is mutually exclusive with resourceSelector.
256+ type : boolean
257+ labelSelector :
258+ description : LabelSelector is a label selector that selects
259+ objects of a GVR.
260+ properties :
261+ matchExpressions :
262+ description : matchExpressions is a list of label selector
263+ requirements. The requirements are ANDed.
264+ items :
265+ description : |-
266+ A label selector requirement is a selector that contains values, a key, and an operator that
267+ relates the key and values.
268+ properties :
269+ key :
270+ description : key is the label key that the selector
271+ applies to.
272+ type : string
273+ operator :
274+ description : |-
275+ operator represents a key's relationship to a set of values.
276+ Valid operators are In, NotIn, Exists and DoesNotExist.
277+ type : string
278+ values :
279+ description : |-
280+ values is an array of string values. If the operator is In or NotIn,
281+ the values array must be non-empty. If the operator is Exists or DoesNotExist,
282+ the values array must be empty. This array is replaced during a strategic
283+ merge patch.
284+ items :
285+ type : string
286+ type : array
287+ x-kubernetes-list-type : atomic
288+ required :
289+ - key
290+ - operator
291+ type : object
292+ type : array
293+ x-kubernetes-list-type : atomic
294+ matchLabels :
295+ additionalProperties :
296+ type : string
297+ description : |-
298+ matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
299+ map is equivalent to an element of matchExpressions, whose key field is "key", the
300+ operator is "In", and the values array contains only "value". The requirements are ANDed.
301+ type : object
302+ type : object
303+ x-kubernetes-map-type : atomic
304+ resourceNames :
305+ description : resourceNames is a list of resource names to
306+ select.
307+ items :
308+ description : |-
309+ SelectorResourceName identifies a specific resource by name.
310+ If backend operates at the namespace level isolation, namespace will be included.
311+ properties :
312+ name :
313+ description : Name is the name of the resource.
314+ type : string
315+ required :
316+ - name
317+ type : object
318+ type : array
319+ type : object
320+ verbs :
321+ description : Verbs is a list of verbs that are required by the
322+ provider to operate.
323+ items :
324+ type : string
325+ type : array
326+ versions :
327+ description : |-
328+ versions is a list of versions that should be exported. If this is empty
329+ a sensible default is chosen by the service provider.
330+ items :
331+ type : string
332+ type : array
333+ required :
334+ - resource
335+ type : object
336+ type : array
225337 required :
226338 - kubeconfigSecretRef
227339 type : object
0 commit comments