From a823d278c30af671f837df8bb7c6345d17f16c9c Mon Sep 17 00:00:00 2001 From: TessaIO Date: Fri, 17 May 2024 16:14:56 +0200 Subject: [PATCH] fix: put Druid crds in the appropriate folder specified by Helm Signed-off-by: ahmed.g Signed-off-by: TessaIO --- Makefile | 4 ++-- .../crds/druid.apache.org_druidingestions.yaml | 0 chart/{templates => }/crds/druid.apache.org_druids.yaml | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename chart/{templates => }/crds/druid.apache.org_druidingestions.yaml (100%) rename chart/{templates => }/crds/druid.apache.org_druids.yaml (100%) diff --git a/Makefile b/Makefile index 7f7a098f..82da1a17 100644 --- a/Makefile +++ b/Makefile @@ -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. @@ -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. diff --git a/chart/templates/crds/druid.apache.org_druidingestions.yaml b/chart/crds/druid.apache.org_druidingestions.yaml similarity index 100% rename from chart/templates/crds/druid.apache.org_druidingestions.yaml rename to chart/crds/druid.apache.org_druidingestions.yaml diff --git a/chart/templates/crds/druid.apache.org_druids.yaml b/chart/crds/druid.apache.org_druids.yaml similarity index 100% rename from chart/templates/crds/druid.apache.org_druids.yaml rename to chart/crds/druid.apache.org_druids.yaml