diff options
| author | luogangyi <luogangyi@cmsr.chinamobile.com> | 2020-07-18 15:31:11 +0800 |
|---|---|---|
| committer | luogangyi <luogangyi@cmsr.chinamobile.com> | 2020-07-18 15:45:36 +0800 |
| commit | 27091d1d8cccd953e12ce262145e8f078dea0516 (patch) | |
| tree | 62efe3a73905dbb74bfcfca1107d1e9ca554ae88 /build | |
| parent | re-org device model and device instance (diff) | |
| download | kubeedge-27091d1d8cccd953e12ce262145e8f078dea0516.tar.gz | |
upgrade device api from v1alpha1 to v1alpha2
Diffstat (limited to 'build')
| -rw-r--r-- | build/README_zh.md | 4 | ||||
| -rw-r--r-- | build/cloud/05-configmap.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/CC2650-device-instance.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/CC2650-device-model.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/create-device-instance.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/create-device-model.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/led-light-device-instance.yaml | 2 | ||||
| -rw-r--r-- | build/crd-samples/devices/led-light-device-model.yaml | 2 | ||||
| -rw-r--r-- | build/crds/devices/devices_v1alpha2_device.yaml (renamed from build/crds/devices/devices_v1alpha1_device.yaml) | 2 | ||||
| -rw-r--r-- | build/crds/devices/devices_v1alpha2_devicemodel.yaml (renamed from build/crds/devices/devices_v1alpha1_devicemodel.yaml) | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/build/README_zh.md b/build/README_zh.md index 79c80d4ec..5ad15b4fa 100644 --- a/build/README_zh.md +++ b/build/README_zh.md @@ -16,8 +16,8 @@ build/ │ └── README_zh.md
├── crds
│ └── devices
-│ ├── devices_v1alpha1_devicemodel.yaml
-│ └── devices_v1alpha1_device.yaml
+│ ├── devices_v1alpha2_devicemodel.yaml
+│ └── devices_v1alpha2_device.yaml
├── crd-samples
│ └── devices
│ ├── create-device-instance.yaml
diff --git a/build/cloud/05-configmap.yaml b/build/cloud/05-configmap.yaml index 78c2d92e4..d2c19e0e9 100644 --- a/build/cloud/05-configmap.yaml +++ b/build/cloud/05-configmap.yaml @@ -8,7 +8,7 @@ metadata: kubeedge: cloudcore data: cloudcore.yaml: | - apiVersion: cloudcore.config.kubeedge.io/v1alpha1 + apiVersion: cloudcore.config.kubeedge.io/v1alpha2 kind: CloudCore kubeAPIConfig: kubeConfig: "" diff --git a/build/crd-samples/devices/CC2650-device-instance.yaml b/build/crd-samples/devices/CC2650-device-instance.yaml index 7cdd17ee9..554f24655 100644 --- a/build/crd-samples/devices/CC2650-device-instance.yaml +++ b/build/crd-samples/devices/CC2650-device-instance.yaml @@ -1,5 +1,5 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: Device metadata: name: sensor-tag-instance-01 diff --git a/build/crd-samples/devices/CC2650-device-model.yaml b/build/crd-samples/devices/CC2650-device-model.yaml index e0d1d9ce3..c985d8ad5 100644 --- a/build/crd-samples/devices/CC2650-device-model.yaml +++ b/build/crd-samples/devices/CC2650-device-model.yaml @@ -1,4 +1,4 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: DeviceModel metadata: name: cc2650-sensortag diff --git a/build/crd-samples/devices/create-device-instance.yaml b/build/crd-samples/devices/create-device-instance.yaml index 6306c1a72..15161b27f 100644 --- a/build/crd-samples/devices/create-device-instance.yaml +++ b/build/crd-samples/devices/create-device-instance.yaml @@ -1,4 +1,4 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: Device metadata: name: sensor-tag-instance-01 diff --git a/build/crd-samples/devices/create-device-model.yaml b/build/crd-samples/devices/create-device-model.yaml index 0bcba7115..11bec00b3 100644 --- a/build/crd-samples/devices/create-device-model.yaml +++ b/build/crd-samples/devices/create-device-model.yaml @@ -1,4 +1,4 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: DeviceModel metadata: name: sensor-tag-model diff --git a/build/crd-samples/devices/led-light-device-instance.yaml b/build/crd-samples/devices/led-light-device-instance.yaml index 04ffca47e..ffdbc46e2 100644 --- a/build/crd-samples/devices/led-light-device-instance.yaml +++ b/build/crd-samples/devices/led-light-device-instance.yaml @@ -1,4 +1,4 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: Device metadata: name: led-light-instance-01 diff --git a/build/crd-samples/devices/led-light-device-model.yaml b/build/crd-samples/devices/led-light-device-model.yaml index 1eab09423..ee29e9ea2 100644 --- a/build/crd-samples/devices/led-light-device-model.yaml +++ b/build/crd-samples/devices/led-light-device-model.yaml @@ -1,5 +1,5 @@ -apiVersion: devices.kubeedge.io/v1alpha1 +apiVersion: devices.kubeedge.io/v1alpha2 kind: DeviceModel metadata: name: led-light diff --git a/build/crds/devices/devices_v1alpha1_device.yaml b/build/crds/devices/devices_v1alpha2_device.yaml index 6f90fe1fd..1f80f5494 100644 --- a/build/crds/devices/devices_v1alpha1_device.yaml +++ b/build/crds/devices/devices_v1alpha2_device.yaml @@ -408,4 +408,4 @@ spec: type: object type: array type: object - version: v1alpha1 + version: v1alpha2 diff --git a/build/crds/devices/devices_v1alpha1_devicemodel.yaml b/build/crds/devices/devices_v1alpha2_devicemodel.yaml index b12b0c53e..58c4124d6 100644 --- a/build/crds/devices/devices_v1alpha1_devicemodel.yaml +++ b/build/crds/devices/devices_v1alpha2_devicemodel.yaml @@ -84,4 +84,4 @@ spec: type: object type: array type: object - version: v1alpha1 + version: v1alpha2 |
