mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-24 10:02:57 +00:00
57 lines
2.4 KiB
YAML
57 lines
2.4 KiB
YAML
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: managedclustersetbindings.cluster.open-cluster-management.io
|
|
spec:
|
|
group: cluster.open-cluster-management.io
|
|
names:
|
|
kind: ManagedClusterSetBinding
|
|
listKind: ManagedClusterSetBindingList
|
|
plural: managedclustersetbindings
|
|
singular: managedclustersetbinding
|
|
scope: Namespaced
|
|
preserveUnknownFields: false
|
|
validation:
|
|
openAPIV3Schema:
|
|
description: ManagedClusterSetBinding projects a ManagedClusterSet into a certain
|
|
namespace. User is able to create a ManagedClusterSetBinding in a namespace
|
|
and bind it to a ManagedClusterSet if they have an RBAC rule to GET on the
|
|
virtual subresource of managedclustersets/bind. Workloads created in the same
|
|
namespace can only be distributed to ManagedClusters in ManagedClustersets
|
|
bound in this namespace by higher level controllers.
|
|
type: object
|
|
properties:
|
|
apiVersion:
|
|
description: 'APIVersion defines the versioned schema of this representation
|
|
of an object. Servers should convert recognized schemas to the latest
|
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
|
type: string
|
|
kind:
|
|
description: 'Kind is a string value representing the REST resource this
|
|
object represents. Servers may infer this from the endpoint the client
|
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: Spec defines the attributes of ManagedClusterSetBinding.
|
|
type: object
|
|
properties:
|
|
clusterSet:
|
|
description: ClusterSet is the name of the ManagedClusterSet to bind.
|
|
User is allowed to set or update this field if they have an RBAC rule
|
|
to GET on the virtual subresource of managedclustersets/bind.
|
|
type: string
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|