Skip to content

Commit 1778421

Browse files
committed
fix Makefile
1 parent c5b35a4 commit 1778421

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ VERSION ?= 0.1.0
77

88
# Image URL to use all building/pushing image targets
99
IMG ?= cr.yandex/yc/ydb-operator:latest
10-
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
11-
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
1210
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
1311
ENVTEST_K8S_VERSION = 1.26
1412

@@ -46,7 +44,7 @@ help: ## Display this help.
4644
##@ Development
4745

4846
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
49-
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
47+
$(CONTROLLER_GEN) crd rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
5048
cp config/crd/bases/ydb.tech_storages.yaml deploy/ydb-operator/crds/storage.yaml
5149
cp config/crd/bases/ydb.tech_databases.yaml deploy/ydb-operator/crds/database.yaml
5250
cp config/crd/bases/ydb.tech_storagenodesets.yaml deploy/ydb-operator/crds/storagenodeset.yaml

0 commit comments

Comments
 (0)