From 7f398b7a86dce3067c2ad034181a6a2c0f1173ca Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre Date: Fri, 22 Mar 2024 19:18:24 +0000 Subject: [PATCH 1/3] fix makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3e8ae8b8f..ad5bc913b 100644 --- a/Makefile +++ b/Makefile @@ -84,11 +84,11 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\ crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/components/crd/bases\ webhook output:webhook:artifacts:config=config/components/webhook\ - paths="./..." + paths="{./api/..., ./pkg/...}" .PHONY: generate generate: controller-gen code-generator openapi-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations and client-go libraries. - $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..." + $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..." ./hack/update-codegen.sh $(GO_CMD) $(PROJECT_DIR)/bin ./hack/python-sdk/gen-sdk.sh From b59b4479b4d2fd9515a8e7b6574ee985b9d51c68 Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre Date: Fri, 22 Mar 2024 19:20:49 +0000 Subject: [PATCH 2/3] move makefile changes to separate PR --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ad5bc913b..3e8ae8b8f 100644 --- a/Makefile +++ b/Makefile @@ -84,11 +84,11 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\ crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/components/crd/bases\ webhook output:webhook:artifacts:config=config/components/webhook\ - paths="{./api/..., ./pkg/...}" + paths="./..." .PHONY: generate generate: controller-gen code-generator openapi-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations and client-go libraries. - $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..." + $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..." ./hack/update-codegen.sh $(GO_CMD) $(PROJECT_DIR)/bin ./hack/python-sdk/gen-sdk.sh From 575fe73d36829ade50e82f3ebd9e4b017fdd594f Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre Date: Fri, 22 Mar 2024 19:21:26 +0000 Subject: [PATCH 3/3] fix makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3e8ae8b8f..ad5bc913b 100644 --- a/Makefile +++ b/Makefile @@ -84,11 +84,11 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\ crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/components/crd/bases\ webhook output:webhook:artifacts:config=config/components/webhook\ - paths="./..." + paths="{./api/..., ./pkg/...}" .PHONY: generate generate: controller-gen code-generator openapi-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations and client-go libraries. - $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..." + $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..." ./hack/update-codegen.sh $(GO_CMD) $(PROJECT_DIR)/bin ./hack/python-sdk/gen-sdk.sh