Skip to content

Commit

Permalink
Merge pull request #6891 from justinsb/use_kubebuilder_to_generate_crds
Browse files Browse the repository at this point in the history
Generate CRDs for kops API types
  • Loading branch information
k8s-ci-robot authored May 14, 2019
2 parents 592062d + 44fa273 commit c6d392e
Show file tree
Hide file tree
Showing 647 changed files with 19,805 additions and 88,161 deletions.
201 changes: 30 additions & 171 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ required = [

# Needed for spell checking
"github.com/client9/misspell/cmd/misspell",

# Needed for CRD generation
"sigs.k8s.io/controller-tools/cmd/controller-gen",
]

[prune]
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -847,3 +847,7 @@ dev-copy-utils:
.PHONY: dev-upload
dev-upload: dev-upload-nodeup dev-upload-protokube dev-copy-utils
echo "Done"

.PHONY: crds
crds:
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd --apis-path pkg/apis/kops/v1alpha2 --domain k8s.io --output-dir k8s/crds/
Loading

0 comments on commit c6d392e

Please sign in to comment.