summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorluogangyi <luogangyi@cmsr.chinamobile.com>2020-06-03 21:38:49 +0800
committerluogangyi <luogangyi@cmsr.chinamobile.com>2020-07-16 15:58:54 +0800
commit0fdbb2b669965991a2760cfa54e0d11b92c134c5 (patch)
tree5b038f2fc8c39c33ca562ff42212332e6d735245 /build
parentadd customized protocol support (diff)
downloadkubeedge-0fdbb2b669965991a2760cfa54e0d11b92c134c5.tar.gz
add data section
Diffstat (limited to 'build')
-rw-r--r--build/crds/devices/devices_v1alpha1_device.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/crds/devices/devices_v1alpha1_device.yaml b/build/crds/devices/devices_v1alpha1_device.yaml
index 4620bd9b5..0fcd202f9 100644
--- a/build/crds/devices/devices_v1alpha1_device.yaml
+++ b/build/crds/devices/devices_v1alpha1_device.yaml
@@ -225,4 +225,28 @@ spec:
type: object
type: array
type: object
+ data:
+ properties:
+ dataTopic:
+ description: 'Topic used by mapper, all data collected from dataProperties
+ should be published to this topic,
+ the default value is $ke/events/device/+/data/update'
+ type: string
+ dataProperties:
+ description: A list of data properties, which are not required to be processed by edgecore
+ items:
+ properties:
+ propertyName:
+ description: 'Required: The property name for which the desired/reported
+ values are specified. This property should be present in the
+ device model.'
+ type: string
+ metadata:
+ description: Additional metadata like filter policy, should be k-v format
+ type: object
+ required:
+ - propertyName
+ type: object
+ type: array
+ type: object
version: v1alpha1