Commit 16902d7 1 parent df90ea8 commit 16902d7 Copy full SHA for 16902d7
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ BUNDLE_DEFAULT_CHANNEL := --default-channel=$(DEFAULT_CHANNEL)
39
39
endif
40
40
BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS ) $(BUNDLE_DEFAULT_CHANNEL )
41
41
42
+ MANIFEST_DIR ?= config/crd/bases
42
43
# kubectl apply does not work on large CRDs.
43
44
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=0"
44
45
@@ -172,7 +173,7 @@ release-artifacts: set-image-controller
172
173
# Generate manifests e.g. CRD, RBAC etc.
173
174
.PHONY : manifests
174
175
manifests : controller-gen
175
- $(CONTROLLER_GEN ) $(CRD_OPTIONS ) rbac:roleName=manager-role webhook paths=" ./..." output:crd:artifacts:config=config/crd/bases
176
+ $(CONTROLLER_GEN ) $(CRD_OPTIONS ) rbac:roleName=manager-role webhook paths=" ./..." output:crd:artifacts:config=${MANIFEST_DIR}
176
177
177
178
# Run tests
178
179
# setup-envtest uses KUBEBUILDER_ASSETS which points to a directory with binaries (api-server, etcd and kubectl)
You can’t perform that action at this time.
0 commit comments