diff --git a/bundle/manifests/lvms-operator.clusterserviceversion.yaml b/bundle/manifests/lvms-operator.clusterserviceversion.yaml index f428dd14c..0f5817d37 100644 --- a/bundle/manifests/lvms-operator.clusterserviceversion.yaml +++ b/bundle/manifests/lvms-operator.clusterserviceversion.yaml @@ -63,6 +63,7 @@ metadata: "lvmvolumegroups.lvm.topolvm.io", "lvmvolumegroupnodestatuses.lvm.topolvm.io"]' operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/openshift/lvm-operator + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' labels: operatorframework.io/arch.amd64: supported operatorframework.io/arch.ppc64le: supported @@ -533,6 +534,8 @@ spec: strategy: {} template: metadata: + annotations: + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' labels: app.kubernetes.io/component: lvms-operator app.kubernetes.io/name: lvms-operator diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 04061bbbd..13360dc51 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -28,6 +28,8 @@ spec: replicas: 1 template: metadata: + annotations: + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' labels: app.kubernetes.io/name: lvms-operator app.kubernetes.io/part-of: lvms-provisioner diff --git a/config/manifests/bases/clusterserviceversion.yaml.in b/config/manifests/bases/clusterserviceversion.yaml.in index 4d2c0449e..2cde24719 100644 --- a/config/manifests/bases/clusterserviceversion.yaml.in +++ b/config/manifests/bases/clusterserviceversion.yaml.in @@ -34,6 +34,7 @@ metadata: operatorframework.io/suggested-namespace: openshift-storage operators.openshift.io/infrastructure-features: '["disconnected"]' operators.operatorframework.io/internal-objects: '["logicalvolumes.topolvm.io", "lvmvolumegroups.lvm.topolvm.io", "lvmvolumegroupnodestatuses.lvm.topolvm.io"]' + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' labels: operatorframework.io/arch.amd64: supported operatorframework.io/arch.ppc64le: supported diff --git a/config/manifests/bases/lvms-operator.clusterserviceversion.yaml b/config/manifests/bases/lvms-operator.clusterserviceversion.yaml index 473b9383e..c6d1bf382 100644 --- a/config/manifests/bases/lvms-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/lvms-operator.clusterserviceversion.yaml @@ -34,6 +34,7 @@ metadata: operatorframework.io/suggested-namespace: openshift-storage operators.openshift.io/infrastructure-features: '["disconnected"]' operators.operatorframework.io/internal-objects: '["logicalvolumes.topolvm.io", "lvmvolumegroups.lvm.topolvm.io", "lvmvolumegroupnodestatuses.lvm.topolvm.io"]' + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' labels: operatorframework.io/arch.amd64: supported operatorframework.io/arch.ppc64le: supported