Skip to content

Commit c7b6c16

Browse files
Merge pull request #312 from dprince/enable_crd_descriptions
Enable CRD descriptions
2 parents 8267a8b + e79d999 commit c7b6c16

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
@@ -112,7 +112,7 @@ help: ## Display this help.
112112

113113
.PHONY: manifests
114114
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
115-
$(CONTROLLER_GEN) rbac:roleName=manager-role crd$(CRDDESC_OVERRIDE) webhook paths="./..." output:crd:artifacts:config=config/crd/bases && \
115+
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases && \
116116
rm -f api/bases/* && cp -a config/crd/bases api/
117117

118118
.PHONY: generate
@@ -188,7 +188,6 @@ ifndef ignore-not-found
188188
endif
189189

190190
.PHONY: install
191-
install: CRDDESC_OVERRIDE=:maxDescLen=0
192191
install: manifests kustomize ## Install CRDs and RBAC into the K8s cluster specified in ~/.kube/config.
193192
$(KUSTOMIZE) build config/crd | kubectl apply -f -
194193

@@ -197,7 +196,6 @@ uninstall: manifests kustomize ## Uninstall CRDs and RBAC from the K8s cluster s
197196
$(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
198197

199198
.PHONY: deploy
200-
deploy: CRDDESC_OVERRIDE=:maxDescLen=0
201199
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
202200
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
203201
$(KUSTOMIZE) build config/default | kubectl apply -f -

0 commit comments

Comments
 (0)