Skip to content

Commit

Permalink
Remove openapi generation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Feb 20, 2020
1 parent c6209df commit 1dc1add
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,4 @@ tags
.history
# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode

bundle/*.crd.yaml
bin/
vendor/
16 changes: 1 addition & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CSV_VERSION ?= 0.4.0
.DEFAULT_GOAL := bundle

.PHONY: generate
generate: openapi k8s crds
generate: k8s crds

.PHONY: k8s
k8s:
Expand All @@ -18,20 +18,6 @@ k8s:
crds:
operator-sdk generate crds

.PHONY: openapi
openapi: bin/openapi-gen
./bin/openapi-gen \
--logtostderr=true \
-o "" \
-i ./pkg/apis/rhjmc/v1alpha1 \
-O zz_generated.openapi \
-p ./pkg/apis/rhjmc/v1alpha1 \
-h ./boilerplate-header.txt \
-r "-"

bin/openapi-gen:
go build -o ./bin/openapi-gen k8s.io/kube-openapi/cmd/openapi-gen

.PHONY: csv
csv:
operator-sdk generate csv \
Expand Down

0 comments on commit 1dc1add

Please sign in to comment.