From 2b1b23343d71edeb4edb531d52964816f25fce01 Mon Sep 17 00:00:00 2001 From: Siddhesh Ghadi Date: Thu, 5 Dec 2024 16:58:08 +0530 Subject: [PATCH] Rephrase the comment Signed-off-by: Siddhesh Ghadi --- controllers/argocd/util.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/argocd/util.go b/controllers/argocd/util.go index 9fd06a3ff..a52eed32c 100644 --- a/controllers/argocd/util.go +++ b/controllers/argocd/util.go @@ -1706,8 +1706,7 @@ func addKubernetesData(source map[string]string, live map[string]string) { found := glob.MatchStringInList(patterns, key, glob.GLOB) if found { // Don't override values already present in the source object. - // This ensures users have control over Kubernetes-managed data - // if they have intentionally set or modified these values in the source object. + // This allows the operator to update Kubernetes specific data when needed. if _, ok := source[key]; !ok { source[key] = value }