fix(clustertool): correct bug where Chart.yaml was writhen with indentation

This commit is contained in:
Kjeld Schouten
2025-04-07 20:23:37 +02:00
parent a66486bb0d
commit 7ba9287173
2 changed files with 2 additions and 3 deletions
@@ -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
-1
View File
@@ -6,6 +6,5 @@ import (
func MarshalYaml(buf *bytes.Buffer, v interface{}) error {
enc := YamlNewEncoder(buf)
enc.SetIndent(2)
return enc.Encode(v)
}