summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorcl2017 <chenlin.liu@daocloud.io>2023-09-20 17:55:22 +0800
committercl2017 <chenlin.liu@daocloud.io>2023-09-22 12:59:41 +0800
commiteb7aacfa7c8a63e1f8d8b07d37964d4c8c9de45b (patch)
treecbbfcf0e7a76eb5fcd27f6c6d24f9224e7712849 /hack
parentdevice crd v1beta1 pkg-client (diff)
downloadkubeedge-eb7aacfa7c8a63e1f8d8b07d37964d4c8c9de45b.tar.gz
device crd v1beta1 build
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/generate-crds.sh2
-rwxr-xr-xhack/generate-dmi-proto.sh2
-rwxr-xr-xhack/local-up-kubeedge.sh4
-rwxr-xr-xhack/update-codegen.sh2
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