summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2023-09-25 10:02:01 +0800
committerGitHub <noreply@github.com>2023-09-25 10:02:01 +0800
commit6efa7d14472ce8bc9f779163517f4df353076b24 (patch)
treec90d50f04c268203a28536dc55be2c1cb545536f /hack
parentMerge pull request #5006 from wlq1212/k8scompatibility/schedule (diff)
parentdevice crd v1beta1 test (diff)
downloadkubeedge-6efa7d14472ce8bc9f779163517f4df353076b24.tar.gz
Merge pull request #4983 from cl2017/device_v1beta1_api
device crd v1beta1 and API definition
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 f27f2ee38..bc2ee92b3 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