From 1a4b793c6417aec7ea8fea224fe334aee05b4810 Mon Sep 17 00:00:00 2001 From: Alexey Makhov Date: Thu, 4 Jan 2024 22:49:38 +0200 Subject: [PATCH] Fix clusterctl files generation Signed-off-by: Alexey Makhov --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a245e640f..67c978d67 100644 --- a/Makefile +++ b/Makefile @@ -178,17 +178,17 @@ clusterapi-manifests: $(CONTROLLER_GEN) rbac:roleName=manager-role crd:generateEmbeddedObjectMeta=true webhook paths="./api/controlplane/..." output:crd:artifacts:config=config/clusterapi/controlplane/bases $(CONTROLLER_GEN) rbac:roleName=manager-role crd:generateEmbeddedObjectMeta=true webhook paths="./api/infrastructure/..." output:crd:artifacts:config=config/clusterapi/infrastructure/bases -bootstrap-components.yaml: clusterapi-manifests kustomize $(CONTROLLER_GEN) +bootstrap-components.yaml: $(CONTROLLER_GEN) clusterapi-manifests kustomize cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} $(KUSTOMIZE) build config/clusterapi/bootstrap/ > bootstrap-components.yaml git checkout config/manager/kustomization.yaml -control-plane-components.yaml: clusterapi-manifests kustomize $(CONTROLLER_GEN) +control-plane-components.yaml: $(CONTROLLER_GEN) clusterapi-manifests kustomize cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} $(KUSTOMIZE) build config/clusterapi/controlplane/ > control-plane-components.yaml git checkout config/manager/kustomization.yaml -infrastructure-components.yaml: clusterapi-manifests kustomize $(CONTROLLER_GEN) +infrastructure-components.yaml: $(CONTROLLER_GEN) clusterapi-manifests kustomize cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} $(KUSTOMIZE) build config/clusterapi/infrastructure/ > infrastructure-components.yaml git checkout config/manager/kustomization.yaml