97 lines
3.7 KiB
YAML
97 lines
3.7 KiB
YAML
|
||
---
|
||
apiVersion: apiextensions.k8s.io/v1
|
||
kind: CustomResourceDefinition
|
||
metadata:
|
||
annotations:
|
||
controller-gen.kubebuilder.io/version: v0.4.1
|
||
creationTimestamp: null
|
||
name: clusterresourcebindings.work.karmada.io
|
||
spec:
|
||
group: work.karmada.io
|
||
names:
|
||
kind: ClusterResourceBinding
|
||
listKind: ClusterResourceBindingList
|
||
plural: clusterresourcebindings
|
||
singular: clusterresourcebinding
|
||
scope: Cluster
|
||
versions:
|
||
- name: v1alpha1
|
||
schema:
|
||
openAPIV3Schema:
|
||
description: ClusterResourceBinding represents a binding of a kubernetes resource
|
||
with a ClusterPropagationPolicy.
|
||
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 represents the desired behavior.
|
||
properties:
|
||
clusters:
|
||
description: Clusters represents target member clusters where the
|
||
resource to be deployed.
|
||
items:
|
||
description: TargetCluster represents the identifier of a member
|
||
cluster.
|
||
properties:
|
||
name:
|
||
description: Name of target cluster.
|
||
type: string
|
||
required:
|
||
- name
|
||
type: object
|
||
type: array
|
||
resource:
|
||
description: Resource represents the Kubernetes resource to be propagated.
|
||
properties:
|
||
apiVersion:
|
||
description: APIVersion represents the API version of the referent.
|
||
type: string
|
||
kind:
|
||
description: Kind represents the Kind of the referent.
|
||
type: string
|
||
name:
|
||
description: Name represents the name of the referent.
|
||
type: string
|
||
namespace:
|
||
description: Namespace represents the namespace for the referent.
|
||
For non-namespace scoped resources(e.g. 'ClusterRole'),do not
|
||
need specify Namespace, and for namespace scoped resources,
|
||
Namespace is required. If Namespace is not specified, means
|
||
the resource is non-namespace scoped.
|
||
type: string
|
||
resourceVersion:
|
||
description: ResourceVersion represents the internal version of
|
||
the referenced object, that can be used by clients to determine
|
||
when object has changed.
|
||
type: string
|
||
required:
|
||
- apiVersion
|
||
- kind
|
||
- name
|
||
type: object
|
||
required:
|
||
- resource
|
||
type: object
|
||
required:
|
||
- spec
|
||
type: object
|
||
served: true
|
||
storage: true
|
||
status:
|
||
acceptedNames:
|
||
kind: ""
|
||
plural: ""
|
||
conditions: []
|
||
storedVersions: []
|