From cc65c9e88b06c0788d6ba4cc8618b89cb9963935 Mon Sep 17 00:00:00 2001 From: Allen Li <46284272+qpdpQ@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:23:46 -0400 Subject: [PATCH] fix typo in utils (#1093) Signed-off-by: Allen Li --- controllers/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/util/util.go b/controllers/util/util.go index ec4c924b..86ae4fff 100644 --- a/controllers/util/util.go +++ b/controllers/util/util.go @@ -325,7 +325,7 @@ func EnsureAnnotationForConfigMap(cm *corev1.ConfigMap, annotations map[string]s cm.Annotations = make(map[string]string) } for k, v := range annotations { - cm.Labels[k] = v + cm.Annotations[k] = v } }