From 80692b62b5ed690199a0560dbdae52622e5d05f7 Mon Sep 17 00:00:00 2001 From: Lance Galletti Date: Mon, 5 Aug 2024 09:30:29 -0400 Subject: [PATCH] (feat) dump csv annotations into chart metadata --- internal/rukpak/convert/registryv1.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/rukpak/convert/registryv1.go b/internal/rukpak/convert/registryv1.go index a705358fd..cc82989af 100644 --- a/internal/rukpak/convert/registryv1.go +++ b/internal/rukpak/convert/registryv1.go @@ -107,6 +107,7 @@ func RegistryV1ToHelmChart(ctx context.Context, rv1 fs.FS, installNamespace stri } chrt := &chart.Chart{Metadata: &chart.Metadata{}} + chrt.Metadata.Annotations = reg.CSV.GetAnnotations() for _, obj := range plain.Objects { jsonData, err := json.Marshal(obj) if err != nil {