From 3d39a20512fa4e3085e7b47863bc17d2d7672f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Skrz=C4=99tnicki?= Date: Tue, 8 Mar 2022 12:42:35 +0100 Subject: [PATCH] Switch to warning in case of resource origin clash. --- lib/services/reconciler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/reconciler.go b/lib/services/reconciler.go index d99071c5bd4e0..9b26175655594 100644 --- a/lib/services/reconciler.go +++ b/lib/services/reconciler.go @@ -155,9 +155,9 @@ func (r *Reconciler) processNewResource(ctx context.Context, currentResources ty return nil } - // Don't overwrite resource of a different origin. + // Don't overwrite resource of a different origin (e.g., keep static resource from config and ignore dynamic resource) if registered.Origin() != new.Origin() { - r.log.Debugf("%v has different origin (%v vs %v), not updating.", new.GetName(), + r.log.Warnf("%v has different origin (%v vs %v), not updating.", new.GetName(), new.Origin(), registered.Origin()) return nil }