Skip to content

Commit

Permalink
update controller-gen version in order to handle segmentation violati…
Browse files Browse the repository at this point in the history
…on in iso-ci
  • Loading branch information
shlomitn committed Aug 27, 2024
1 parent f455c85 commit 6c086ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export GOPROXY=https://proxy.golang.org

CONTROLLER_GEN_VERSION="v0.4.1"
CONTROLLER_GEN_VERSION="v0.14.0"

CSV_PATH=bundle/manifests/ibm-storage-odf-operator.clusterserviceversion.yaml

Expand Down Expand Up @@ -37,7 +37,8 @@ ensure-operator-sdk:
hack/ensure-operator-sdk.sh

manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CONTROLLER_GEN) --version
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases

generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
Expand Down

0 comments on commit 6c086ea

Please sign in to comment.