From 8954d6e5227961b3c0a61b2f2203ad99dc418d74 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Fri, 24 Nov 2023 11:18:59 +0530 Subject: [PATCH] capture fingerprint data in k8s_resource Signed-off-by: MUzairS15 --- pkg/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/model.go b/pkg/model/model.go index b161a83a..ce9534e8 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -19,7 +19,7 @@ type KubernetesResource struct { Status *KubernetesResourceStatus `json:"status,omitempty" gorm:"foreignkey:ID;references:id;constraint:OnUpdate:CASCADE,OnDelete:SET NULL;"` ClusterID string `json:"cluster_id"` PatternResource *uuid.UUID `json:"pattern_resource"` - + ComponentMetadata map[string]interface{} `json:"component_metadata" gorm:"type:bytes;serializer:json"` // Secondary fields for configsmaps and secrets Immutable string `json:"immutable,omitempty"` Data string `json:"data,omitempty"`