From b9234bcfa90f36b927ce8a3f1ca2d183cb48d33b Mon Sep 17 00:00:00 2001 From: Thuan Vo Date: Fri, 22 Jul 2022 14:13:52 -0400 Subject: [PATCH] fix(makefile): remove crd-options --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b129091e7..fff774909 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,6 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL) IMAGE_BUILDER ?= podman # Image URL to use all building/pushing image targets OPERATOR_IMG ?= $(IMAGE_NAMESPACE)/$(OPERATOR_NAME):$(IMAGE_VERSION) -# Produce CRDs that work back to Kubernetes 1.11 (no version conversion) -CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false" # Images used by the operator CORE_NAMESPACE ?= $(DEFAULT_NAMESPACE) @@ -149,7 +147,7 @@ undeploy: # Generate manifests e.g. CRD, RBAC etc. .PHONY: manifests manifests: controller-gen - $(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=role webhook paths="./..." output:crd:artifacts:config=config/crd/bases + $(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases envsubst < hack/image_tag_patch.yaml.in > config/default/image_tag_patch.yaml envsubst < hack/image_pull_patch.yaml.in > config/default/image_pull_patch.yaml