From fcd26842dc220655ccbf961250abd3ae36e3f181 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Sat, 12 Jul 2025 13:24:56 +0200 Subject: [PATCH] add trailing newline to generated CRDs Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- modules/helm/crds.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/helm/crds.mk b/modules/helm/crds.mk index ff634e7a..0ab2de0b 100644 --- a/modules/helm/crds.mk +++ b/modules/helm/crds.mk @@ -66,6 +66,7 @@ generate-crds: | $(NEEDS_CONTROLLER-GEN) $(NEEDS_YQ) $(sed_inplace) "s/REPLACE_LABELS_TEMPLATE/$(helm_labels_template_name)/g" $(helm_chart_source_dir)/templates/crd-$$i; \ $(YQ) -I2 '{"spec": .spec}' $(crds_gen_temp)/$$i >> $(helm_chart_source_dir)/templates/crd-$$i; \ cat $(crd_template_footer) >> $(helm_chart_source_dir)/templates/crd-$$i; \ + echo "" >> $(helm_chart_source_dir)/templates/crd-$$i; \ done @if [ -n "$$(ls $(crds_gen_temp) 2>/dev/null)" ]; then \