This is an automated email from the ASF dual-hosted git repository.
caigy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-operator.git
The following commit(s) were added to refs/heads/master by this push:
new 424a4c5 generate metadata sub structure
new c732e18 Merge pull request #116 from ltamber/master
424a4c5 is described below
commit 424a4c5c816c8aa821450c65d4d1cd1ae61cc764
Author: ltamber <[email protected]>
AuthorDate: Wed Jul 20 16:51:25 2022 +0800
generate metadata sub structure
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1d428d3..6b48a9e 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and
CustomResourceDefinition objects.
- $(CONTROLLER_GEN) rbac:roleName=rocketmq-operator crd webhook
paths="./..." output:dir=deploy output:crd:artifacts:config=deploy/crds
+ $(CONTROLLER_GEN) rbac:roleName=rocketmq-operator
crd:generateEmbeddedObjectMeta=true webhook paths="./..." output:dir=deploy
output:crd:artifacts:config=deploy/crds
.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto,
and DeepCopyObject method implementations.