-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Download CRD deps only when necessary
Create individual make targets for the CRD dependencies so that make can identify that the CRD dependencies have already been downloaded and skip. When the SOURCE_VER changes, old CRDs are deleted and new ones are downloaded, keeping a record of the source CRD versions in build/.src-crd-<version> by file name. Also, introduce `cleanup-crd-deps` make target to delete the previously downloaded CRDs. Signed-off-by: Sunny <darkowlzz@protonmail.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters