Skip to content

Commit

Permalink
fix: put Druid crds in the appropriate folder specified by Helm (#162)
Browse files Browse the repository at this point in the history
Signed-off-by: ahmed.g <[email protected]>
Signed-off-by: TessaIO <[email protected]>
  • Loading branch information
TessaIO committed Jun 3, 2024
1 parent b197f03 commit 643c4bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ kind: ## Bootstrap Kind Locally
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true paths="./..." output:crd:artifacts:config=chart/templates/crds/
$(CONTROLLER_GEN) crd:generateEmbeddedObjectMeta=true paths="./..." output:crd:artifacts:config=chart/crds/

.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down Expand Up @@ -195,7 +195,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
##@ Helm
.PHONY: helm-generate
helm-generate: ## Generate the Helm chart directory
$(KUSTOMIZE) build config/crd > chart/templates/crds/druid.apache.org_druids.yaml
$(KUSTOMIZE) build config/crd > chart/crds/druid.apache.org_druids.yaml

.PHONY: helm-lint
helm-lint: ## Lint Helm chart.
Expand Down
File renamed without changes.

0 comments on commit 643c4bf

Please sign in to comment.