From 1944ed1df9fb38c3170568b54bd644675cb79aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cieni=20J=C3=BAnior?= Date: Fri, 22 Nov 2024 15:53:58 -0300 Subject: [PATCH] set namespace field when creating relationships for helm releases --- pkg/summary/cattletypes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/summary/cattletypes.go b/pkg/summary/cattletypes.go index 0208d1da..180e0ed7 100644 --- a/pkg/summary/cattletypes.go +++ b/pkg/summary/cattletypes.go @@ -34,6 +34,7 @@ func checkRelease(obj data.Object, _ []Condition, summary Summary) Summary { for _, resources := range obj.Slice("spec", "resources") { summary.Relationships = append(summary.Relationships, Relationship{ Name: resources.String("name"), + Namespace: resources.String("namespace"), Kind: resources.String("kind"), APIVersion: resources.String("apiVersion"), Type: "helmresource",