From ad709e7f1337b2011d8dc03a6ca85c3718eb29c6 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 7 Apr 2025 22:00:05 +0200 Subject: [PATCH] feat(clustertool): add support url to Chart.yaml annotations --- clustertool/pkg/charts/chartFile/chart_file.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clustertool/pkg/charts/chartFile/chart_file.go b/clustertool/pkg/charts/chartFile/chart_file.go index 86f5dc9aea0..014d8483478 100644 --- a/clustertool/pkg/charts/chartFile/chart_file.go +++ b/clustertool/pkg/charts/chartFile/chart_file.go @@ -27,6 +27,9 @@ const ( defaultDescription = "No description provided." defaultHome = "https://truecharts.org" defaultIcon = "https://github.com/truecharts/public/blob/main/website/static/svg/logo.svg" + supportUrl = `| + - name: support + url: https://discord.com/invite/tVsPTHWTtr` ) var validate *validator.Validate @@ -132,6 +135,7 @@ func (h *HelmChart) setDefaultValues() { h.setAnnotation("truecharts.org/category", defaultCategory, false) h.setAnnotation("truecharts.org/min_helm_version", minHelmVersion, true) h.setAnnotation("truecharts.org/max_helm_version", maxHelmVersion, true) + h.setAnnotation("artifacthub.io/links", supportUrl, true) // Set default values for other fields as needed }