diff --git a/pkg/virt-operator/resource/generate/components/prometheus.go b/pkg/virt-operator/resource/generate/components/prometheus.go index 49621b91c677..f420f3cc8837 100644 --- a/pkg/virt-operator/resource/generate/components/prometheus.go +++ b/pkg/virt-operator/resource/generate/components/prometheus.go @@ -44,12 +44,7 @@ func NewServiceMonitorCR(namespace string, monitorNamespace string, insecureSkip TLSConfig: &v1.TLSConfig{ InsecureSkipVerify: insecureSkipVerify, }, - RelabelConfigs: []*v1.RelabelConfig{ - { - Regex: "namespace", - Action: "labeldrop", - }, - }, + HonorLabels: true, }, }, },