From 6ef2cd0cdbe845d65e359ce50cbb2f45fcc92c66 Mon Sep 17 00:00:00 2001 From: haoqing0110 Date: Mon, 4 Sep 2023 08:58:04 +0000 Subject: [PATCH] fix make verify error Signed-off-by: haoqing0110 --- Makefile | 2 +- hack/init.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6298336be..e653462ae 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ update-csv: ensure-operator-sdk rm ./deploy/klusterlet/bundle.Dockerfile verify-crds: - bash -x hack/verify-crds.sh + bash -x hack/verify-crds.sh $(YAML_PATCH) verify-gocilint: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2 diff --git a/hack/init.sh b/hack/init.sh index c38a94a58..e21b69965 100644 --- a/hack/init.sh +++ b/hack/init.sh @@ -15,8 +15,6 @@ HUB_CRD_FILES="./vendor/open-cluster-management.io/api/cluster/v1/*.crd.yaml ./vendor/open-cluster-management.io/api/work/v1alpha1/0000_00_work.open-cluster-management.io_manifestworkreplicasets.crd.yaml " -PATCHED_DIR="./_output/" - SPOKE_CRD_FILES="./vendor/open-cluster-management.io/api/work/v1/0000_01_work.open-cluster-management.io_appliedmanifestworks.crd.yaml ./vendor/open-cluster-management.io/api/cluster/v1alpha1/0000_02_clusters.open-cluster-management.io_clusterclaims.crd.yaml ./vendor/open-cluster-management.io/api/crdsv1beta1/0001_01_work.open-cluster-management.io_appliedmanifestworks.crd.yaml