From 42ac9f4170de185e8196c8e3def56d6904e65194 Mon Sep 17 00:00:00 2001 From: Zsolt Varga Date: Thu, 11 Jul 2019 15:54:59 +0200 Subject: [PATCH] fix multi cluster metrics instance cr --- pkg/resources/mixer/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resources/mixer/kubernetes.go b/pkg/resources/mixer/kubernetes.go index 355a18065..da6dd03c7 100644 --- a/pkg/resources/mixer/kubernetes.go +++ b/pkg/resources/mixer/kubernetes.go @@ -59,7 +59,7 @@ func (r *Reconciler) attributesKubernetes() *k8sutil.DynamicObject { "destination_uid": `destination.uid | ""`, "destination_port": `destination.port | 0`, }, - "attributeBindings": map[string]interface{}{ + "attributeBindings": map[string]string{ "source.ip": `$out.source_pod_ip | ip("0.0.0.0")`, "source.uid": `$out.source_pod_uid | "unknown"`, "source.labels": `$out.source_labels | emptyStringMap()`,