Skip to content

Commit

Permalink
[v2] enforce generation of CRDs in v1beta1 version (#922)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
  • Loading branch information
zroubalik committed Jul 9, 2020
1 parent 7de7b0e commit 5d5b04f
Show file tree
Hide file tree
Showing 4 changed files with 6,352 additions and 6,517 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ build-adapter: generate-api pkg/scalers/liiklus/LiiklusService.pb.go
.PHONY: generate-api
generate-api:
$(GO_BUILD_VARS) operator-sdk generate k8s
$(GO_BUILD_VARS) operator-sdk generate crds
$(GO_BUILD_VARS) operator-sdk generate crds --crd-version=v1beta1
# withTriggers and withPods are only used for duck typing so we only need the deepcopy methods
# However operator-sdk generate doesn't appear to have an option for that
# until this issue is fixed: https://github.com/kubernetes-sigs/controller-tools/issues/398
Expand Down
Loading

0 comments on commit 5d5b04f

Please sign in to comment.