From ba21d93fbee8f786d598b8f8e144efec3e5d0457 Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Mon, 3 Aug 2026 23:24:25 +0200 Subject: [PATCH] chore: Retire the chart-clean target Its only job was `rm -rf deploy/helm//crds` and we don't need that anymore. --- template/Makefile.j2 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/template/Makefile.j2 b/template/Makefile.j2 index 73ee6a25..df3fe3eb 100644 --- a/template/Makefile.j2 +++ b/template/Makefile.j2 @@ -30,9 +30,6 @@ docker-build: ## Chart related targets compile-chart: version crds -chart-clean: - rm -rf "deploy/helm/${OPERATOR_NAME}/crds" - version: cat "deploy/helm/${OPERATOR_NAME}/Chart.yaml" | yq ".version = \"${VERSION}\" | .appVersion = \"${VERSION}\"" > "deploy/helm/${OPERATOR_NAME}/Chart.yaml.new" mv "deploy/helm/${OPERATOR_NAME}/Chart.yaml.new" "deploy/helm/${OPERATOR_NAME}/Chart.yaml" @@ -46,11 +43,11 @@ crds: chart-lint: compile-chart docker run -it -v $(shell pwd):/build/helm-charts -w /build/helm-charts quay.io/helmpack/chart-testing:v3.5.0 ct lint --config deploy/helm/ct.yaml -clean: chart-clean +clean: cargo clean docker rmi --force '${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}' -regenerate-charts: chart-clean compile-chart +regenerate-charts: compile-chart regenerate-nix: nix run --extra-experimental-features "nix-command flakes" -f . regenerateNixLockfiles