From 1e7dc78cd83a26e72d0e79f9302b697d703b6a56 Mon Sep 17 00:00:00 2001 From: Blaize M Kaye Date: Mon, 26 Feb 2024 11:56:10 +1300 Subject: [PATCH] some debugging info --- controllers/configmap_controller.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/controllers/configmap_controller.go b/controllers/configmap_controller.go index 211b1d4..7df77d6 100644 --- a/controllers/configmap_controller.go +++ b/controllers/configmap_controller.go @@ -96,6 +96,13 @@ func (r *ConfigMapReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( } // insightsType is a way for us to classify incoming insights data, passing + + log.Info("incoming labels") + for k, v := range configMap.Labels { + log.Info(fmt.Sprintf("%v:%v\n", k, v)) + } + log.Info("incoming labels - end") + insightsType := "unclassified" if _, ok := configMap.Labels["insights.lagoon.sh/type"]; ok { insightsType = configMap.Labels["insights.lagoon.sh/type"]