From 7898ad27d1ccdf3aa735f6e0a5ea6861ff9d185b Mon Sep 17 00:00:00 2001 From: "Timothy Rule (VM/EMT3)" Date: Thu, 10 Oct 2024 15:53:46 +0200 Subject: [PATCH] Change type of annoation in Go to support complex annotations. Signed-off-by: Timothy Rule (VM/EMT3) --- extra/tools/simer/internal/pkg/file/handler/kind/kind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/tools/simer/internal/pkg/file/handler/kind/kind.go b/extra/tools/simer/internal/pkg/file/handler/kind/kind.go index d7a832e..f49fe97 100644 --- a/extra/tools/simer/internal/pkg/file/handler/kind/kind.go +++ b/extra/tools/simer/internal/pkg/file/handler/kind/kind.go @@ -62,7 +62,7 @@ type KindDoc struct { Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` - Annotations map[string]string `yaml:"annotations"` + Annotations map[string]interface{} `yaml:"annotations"` Labels map[string]string `yaml:"labels"` } `yaml:"metadata"` Spec interface{} `yaml:"-"`