diff options
| author | cl2017 <chenlin.liu@daocloud.io> | 2023-09-20 17:55:22 +0800 |
|---|---|---|
| committer | cl2017 <chenlin.liu@daocloud.io> | 2023-09-22 12:59:41 +0800 |
| commit | eb7aacfa7c8a63e1f8d8b07d37964d4c8c9de45b (patch) | |
| tree | cbbfcf0e7a76eb5fcd27f6c6d24f9224e7712849 /hack | |
| parent | device crd v1beta1 pkg-client (diff) | |
| download | kubeedge-eb7aacfa7c8a63e1f8d8b07d37964d4c8c9de45b.tar.gz | |
device crd v1beta1 build
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
Diffstat (limited to 'hack')
| -rwxr-xr-x | hack/generate-crds.sh | 2 | ||||
| -rwxr-xr-x | hack/generate-dmi-proto.sh | 2 | ||||
| -rwxr-xr-x | hack/local-up-kubeedge.sh | 4 | ||||
| -rwxr-xr-x | hack/update-codegen.sh | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/hack/generate-crds.sh b/hack/generate-crds.sh index dcb45fb78..295afa102 100755 --- a/hack/generate-crds.sh +++ b/hack/generate-crds.sh @@ -20,7 +20,7 @@ set -o pipefail CRD_VERSIONS=v1 CRD_OUTPUTS=build/crds -DEVICES_VERSION=v1alpha2 +DEVICES_VERSION=v1beta1 OPERATIONS_VERSION=v1alpha1 RELIABLESYNCS_VERSION=v1alpha1 SERVICEACCOUNTACCESS_VERSION=v1alpha1 diff --git a/hack/generate-dmi-proto.sh b/hack/generate-dmi-proto.sh index c27f4a837..4496511ff 100755 --- a/hack/generate-dmi-proto.sh +++ b/hack/generate-dmi-proto.sh @@ -18,7 +18,7 @@ set -o nounset set -o pipefail DMI_DIR=pkg/apis/dmi -DMI_VERSION=v1alpha1 +DMI_VERSION=v1beta1 DMI_API_FILE=api.proto DMI_API_GO_FILE=api.pb.go diff --git a/hack/local-up-kubeedge.sh b/hack/local-up-kubeedge.sh index 7e2bd6ded..b635e409a 100755 --- a/hack/local-up-kubeedge.sh +++ b/hack/local-up-kubeedge.sh @@ -83,8 +83,8 @@ fi function create_device_crd { echo "creating the device crd..." - kubectl apply -f ${KUBEEDGE_ROOT}/build/crds/devices/devices_v1alpha2_device.yaml - kubectl apply -f ${KUBEEDGE_ROOT}/build/crds/devices/devices_v1alpha2_devicemodel.yaml + kubectl apply -f ${KUBEEDGE_ROOT}/build/crds/devices/devices_v1beta1_device.yaml + kubectl apply -f ${KUBEEDGE_ROOT}/build/crds/devices/devices_v1beta1_devicemodel.yaml } function create_objectsync_crd { diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 7b534df08..1814f7346 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -36,5 +36,5 @@ export GOPATH="${go_path}" ${KUBEEDGE_ROOT}/hack/generate-groups.sh "deepcopy,client,informer,lister" \ github.com/kubeedge/kubeedge/pkg/client github.com/kubeedge/kubeedge/pkg/apis \ -"devices:v1alpha2 reliablesyncs:v1alpha1 rules:v1 apps:v1alpha1 operations:v1alpha1 policy:v1alpha1" \ +"devices:v1beta1 reliablesyncs:v1alpha1 rules:v1 apps:v1alpha1 operations:v1alpha1 policy:v1alpha1" \ --go-header-file ${KUBEEDGE_ROOT}/hack/boilerplate/boilerplate.txt |
