forked from k0sproject/k0s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move generated CRDs into their own directory
Introduce the static/_crds/* directories, which replace the static/manifests/*/CustomResourceDefinition directories. The underscore in the name prevents go tools from descending into the folder when looking for go files. This makes it safe to run go commands at the same time as generating the CRDs in this folder. This prevents errors like the following: go: finding module for package github.com/k0sproject/k0s/static/manifests/v1beta1/CustomResourceDefinition go: finding module for package github.com/k0sproject/k0s/static/manifests/helm/CustomResourceDefinition go: finding module for package github.com/k0sproject/k0s/static/manifests/autopilot/CustomResourceDefinition go: finding module for package github.com/k0sproject/k0s/static/manifests/etcd/CustomResourceDefinition go: github.com/k0sproject/k0s/static/manifests/autopilot/CustomResourceDefinition: no matching versions for query "latest" go: github.com/k0sproject/k0s/static/manifests/etcd/CustomResourceDefinition: no matching versions for query "latest" go: github.com/k0sproject/k0s/static/manifests/helm/CustomResourceDefinition: no matching versions for query "latest" go: github.com/k0sproject/k0s/static/manifests/v1beta1/CustomResourceDefinition: no matching versions for query "latest" make: *** [Makefile:113: go.sum] Error 1 Signed-off-by: Tom Wieczorek <[email protected]>
- Loading branch information
Showing
8 changed files
with
5 additions
and
6 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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.