Skip to content

Commit

Permalink
UPDATE controller-gen and check CRD version to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
acmenezes committed Jan 24, 2022
1 parent b73a84d commit a57e607
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi

CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.7.0)

KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
Expand Down
8 changes: 8 additions & 0 deletions hack/update-operator-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@



URL=https://github.com/operator-framework/operator-sdk/releases/download/v1.16.0/operator-sdk_darwin_amd64

cd /usr/local/bin && rm operator-sdk && curl -LO $URL && mv operator-sdk_darwin_amd64 operator-sdk && chmod +x operator-sdk;

cd -;

0 comments on commit a57e607

Please sign in to comment.