Skip to content

Commit 126ddc4

Browse files
authored
Fix rbac generation in Makefile (#937)
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent edc91ad commit 126ddc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CONTAINER_RUNTIME := docker
5151
else ifneq (, $(shell command -v podman 2>/dev/null))
5252
CONTAINER_RUNTIME := podman
5353
else
54-
$(warning Could not find docker or podman in path! This may result in targets requiring a container runtime failing!)
54+
$(warning Could not find docker or podman in path! This may result in targets requiring a container runtime failing!)
5555
endif
5656

5757
KUSTOMIZE_BUILD_DIR := config/overlays/tls
@@ -95,7 +95,7 @@ tidy: #HELP Update dependencies.
9595

9696
.PHONY: manifests
9797
manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
98-
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/base/crd/bases
98+
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/base/crd/bases output:rbac:artifacts:config=config/base/rbac
9999

100100
.PHONY: generate
101101
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.

0 commit comments

Comments
 (0)