File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -158,13 +158,14 @@ config/.flag.mk: $(CONTROLLER_GEN) $(MANIFEST_GEN_INPUTS)
158
158
$(CONTROLLER_GEN ) crd:crdVersions=v1 rbac:roleName=manager-role webhook paths=" {./api/...,./controllers/...}" output:crd:artifacts:config=config/crd/bases
159
159
@touch config/.flag.mk
160
160
161
- CONVERSION_GEN_TARGET =$(shell find api -type d -name "v* 1" -exec echo {}\/zz_generated.conversion.go \;)
162
161
.PHONY : generate-conversion
163
162
generate-conversion : $(CONVERSION_GEN ) # # Generate code to convert api/v1beta1 and api/v1beta2 to api/v1beta3
164
163
$(CONVERSION_GEN ) \
165
164
--input-dirs=./api/v1beta1 \
165
+ --go-header-file=./hack/boilerplate.go.txt \
166
+ --output-base=. --output-file-base=zz_generated.conversion
167
+ $(CONVERSION_GEN ) \
166
168
--input-dirs=./api/v1beta2 \
167
- --extra-peer-dirs=sigs.k8s.io/cluster-api/api/v1beta1 \
168
169
--go-header-file=./hack/boilerplate.go.txt \
169
170
--output-base=. --output-file-base=zz_generated.conversion
170
171
You can’t perform that action at this time.
0 commit comments