From 56f17944b05009c000e2a213fc24a797c4d0f153 Mon Sep 17 00:00:00 2001
From: Nitin Goyal <nigoyal@redhat.com>
Date: Thu, 5 May 2022 11:31:09 +0530
Subject: [PATCH] build: update labels in the bundle

Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
---
 .../controller-manager-metrics-service_v1_service.yaml        | 4 ++--
 ...trics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml | 2 +-
 bundle/manifests/lvm-operator.clusterserviceversion.yaml      | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bundle/manifests/controller-manager-metrics-service_v1_service.yaml b/bundle/manifests/controller-manager-metrics-service_v1_service.yaml
index 59e34b85b..287c8d547 100644
--- a/bundle/manifests/controller-manager-metrics-service_v1_service.yaml
+++ b/bundle/manifests/controller-manager-metrics-service_v1_service.yaml
@@ -3,7 +3,7 @@ kind: Service
 metadata:
   creationTimestamp: null
   labels:
-    control-plane: controller-manager
+    app.kubernetes.io/name: lvm-operator
   name: controller-manager-metrics-service
 spec:
   ports:
@@ -12,6 +12,6 @@ spec:
     protocol: TCP
     targetPort: https
   selector:
-    control-plane: controller-manager
+    app.kubernetes.io/name: lvm-operator
 status:
   loadBalancer: {}
diff --git a/bundle/manifests/lvm-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml b/bundle/manifests/lvm-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml
index ede9e38e4..1595285bd 100644
--- a/bundle/manifests/lvm-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml
+++ b/bundle/manifests/lvm-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml
@@ -2,7 +2,7 @@ apiVersion: monitoring.coreos.com/v1
 kind: ServiceMonitor
 metadata:
   labels:
-    control-plane: controller-manager
+    app.kubernetes.io/name: lvm-operator
   name: lvm-operator-controller-manager-metrics-monitor
 spec:
   endpoints:
diff --git a/bundle/manifests/lvm-operator.clusterserviceversion.yaml b/bundle/manifests/lvm-operator.clusterserviceversion.yaml
index d72866f9d..1c1161894 100644
--- a/bundle/manifests/lvm-operator.clusterserviceversion.yaml
+++ b/bundle/manifests/lvm-operator.clusterserviceversion.yaml
@@ -227,12 +227,12 @@ spec:
           replicas: 1
           selector:
             matchLabels:
-              control-plane: controller-manager
+              app.kubernetes.io/name: lvm-operator
           strategy: {}
           template:
             metadata:
               labels:
-                control-plane: controller-manager
+                app.kubernetes.io/name: lvm-operator
                 exporter: lvm-operator
             spec:
               containers: