Skip to content

Commit

Permalink
cleanup after gen-crd (#9682)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazdakn authored Jan 7, 2025
1 parent 83e65f6 commit 4579d71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libcalico-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4579d71

Please sign in to comment.