From 7ba9287173749bc85e2e806c24aa6e60ec8a3fef Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 7 Apr 2025 20:23:37 +0200 Subject: [PATCH] fix(clustertool): correct bug where Chart.yaml was writhen with indentation --- clustertool/pkg/charts/chartFile/chart_file.go | 4 ++-- clustertool/pkg/helper/marshaller.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clustertool/pkg/charts/chartFile/chart_file.go b/clustertool/pkg/charts/chartFile/chart_file.go index 7999f1e3ec6..86f5dc9aea0 100644 --- a/clustertool/pkg/charts/chartFile/chart_file.go +++ b/clustertool/pkg/charts/chartFile/chart_file.go @@ -15,7 +15,7 @@ import ( const ( minHelmVersion = "3.14" - maxHelmVersion = "3.16" + maxHelmVersion = "3.17" kubeVersion = ">=1.24.0-0" apiVersion = "v2" chartType = "application" @@ -26,7 +26,7 @@ const ( defaultAppVersion = "unknown" defaultDescription = "No description provided." defaultHome = "https://truecharts.org" - defaultIcon = "https://github.com/truecharts/website/blob/main/static/svg/logo.svg" + defaultIcon = "https://github.com/truecharts/public/blob/main/website/static/svg/logo.svg" ) var validate *validator.Validate diff --git a/clustertool/pkg/helper/marshaller.go b/clustertool/pkg/helper/marshaller.go index 36ddd67624d..7b97a1e2b1f 100644 --- a/clustertool/pkg/helper/marshaller.go +++ b/clustertool/pkg/helper/marshaller.go @@ -6,6 +6,5 @@ import ( func MarshalYaml(buf *bytes.Buffer, v interface{}) error { enc := YamlNewEncoder(buf) - enc.SetIndent(2) return enc.Encode(v) }