diff --git a/libcalico-go/Makefile b/libcalico-go/Makefile index e79982c9146..f3dc4adab54 100644 --- a/libcalico-go/Makefile +++ b/libcalico-go/Makefile @@ -54,7 +54,9 @@ gen-files: gen-crds gen-crds: rm -rf config/crd $(DOCKER_GO_BUILD) sh -c '$(GIT_CONFIG_SSH) controller-gen crd:allowDangerousTypes=true,crdVersions=v1,deprecatedV1beta1CompatibilityPreserveUnknownFields=false paths=./lib/apis/... output:crd:dir=config/crd/' - rm -f config/crd/{_,_nodes}.yaml + # Cleanup + rm -f config/crd/_.yaml + rm -f config/crd/_nodes.yaml # Patch in manual tweaks to the generated CRDs. patch -p2 < patches/0001-Add-nullable-to-IPAM-block-allocations-field.patch # Remove the first yaml separator line.