diff options
| author | fisherxu <xufei40@huawei.com> | 2020-01-09 12:00:31 +0800 |
|---|---|---|
| committer | fisherxu <xufei40@huawei.com> | 2020-01-09 16:07:00 +0800 |
| commit | d3d5019de41928492215ef408f5cdbcca9de14fc (patch) | |
| tree | cd2e9293f1593c17bcc74d869474bb8164c0d284 /build | |
| parent | add reliable sync api (diff) | |
| download | kubeedge-d3d5019de41928492215ef408f5cdbcca9de14fc.tar.gz | |
add crd yaml for reliable sync api
Diffstat (limited to 'build')
| -rw-r--r-- | build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml | 45 | ||||
| -rw-r--r-- | build/crds/reliablesyncs/objectsync_v1alpha1.yaml | 45 |
2 files changed, 90 insertions, 0 deletions
diff --git a/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml b/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml new file mode 100644 index 000000000..4301de66b --- /dev/null +++ b/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml @@ -0,0 +1,45 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + labels: + controller-tools.k8s.io: "1.0" + name: clusterobjectsyncs.reliablesyncs.kubeedge.io +spec: + group: reliablesyncs.kubeedge.io + names: + kind: ClusterObjectSync + plural: clusterobjectsyncs + scope: Cluster + validation: + openAPIV3Schema: + 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/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/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + objectType: + description: NodeSelector indicates the binding preferences between + devices and nodes. Refer to k8s.io/kubernetes/pkg/apis/core NodeSelector + for more details + type: string + objectName: + description: 'Required: The protocol configuration used to connect to + the device.' + type: string + status: + properties: + objectResourceVersion: + description: 'Required: DeviceModelRef is reference to the device model + used as a template to create the device instance.' + type: string + version: v1alpha1
\ No newline at end of file diff --git a/build/crds/reliablesyncs/objectsync_v1alpha1.yaml b/build/crds/reliablesyncs/objectsync_v1alpha1.yaml new file mode 100644 index 000000000..84d83b5d0 --- /dev/null +++ b/build/crds/reliablesyncs/objectsync_v1alpha1.yaml @@ -0,0 +1,45 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + labels: + controller-tools.k8s.io: "1.0" + name: objectsyncs.reliablesyncs.kubeedge.io +spec: + group: reliablesyncs.kubeedge.io + names: + kind: ObjectSync + plural: objectsyncs + scope: Namespaced + validation: + openAPIV3Schema: + 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/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/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + objectType: + description: NodeSelector indicates the binding preferences between + devices and nodes. Refer to k8s.io/kubernetes/pkg/apis/core NodeSelector + for more details + type: string + objectName: + description: 'Required: The protocol configuration used to connect to + the device.' + type: string + status: + properties: + objectResourceVersion: + description: 'Required: DeviceModelRef is reference to the device model + used as a template to create the device instance.' + type: string + version: v1alpha1
\ No newline at end of file |
