Skip to content

Commit

Permalink
(feat) dump csv annotations into chart metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
gallettilance committed Aug 5, 2024
1 parent cb9ea00 commit 80692b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/rukpak/convert/registryv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 80692b6

Please sign in to comment.