File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ vet: $(TIMESTAMPS_DIR)/vet ## Run go vet against code
352352generate : ${GO_SOURCES} # # Generate code
353353 $(CONTROLLER_GEN ) object:headerFile=" hack/boilerplate.go.txt" paths=" ./api/..." paths=" ./internal/controller/..."
354354ifdef EXPERIMENTAL
355- $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./internal/nextapi/v1/..."
355+ $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./internal/nextapi/generated/ v1/..."
356356endif
357357 go tool -modfile=tools/toolbox/go.mod mockery
358358 $(MAKE) fmt
@@ -604,14 +604,10 @@ clear-e2e-leftovers: ## Clear the e2e test leftovers quickly
604604 git submodule update helm-charts
605605
606606.PHONY : install-crds
607- install-crds : manifests # # Install CRDs in Kubernetes
607+ install-crds : manifests gen-crds # # Install CRDs in Kubernetes
608608 kubectl apply -k config/crd
609609ifdef EXPERIMENTAL
610- @if [ -d internal/next-crds ] && find internal/next-crds -maxdepth 1 -name '*.yaml' | grep -q .; then \
611- kubectl apply -f internal/next-crds/*.yaml; \
612- else \
613- echo "No experimental CRDs found, skipping apply."; \
614- fi
610+ kubectl apply -f config/generated/crd/bases/crds.yaml
615611endif
616612
617613.PHONY : set-namespace
You can’t perform that action at this time.
0 commit comments