Skip to content

Commit

Permalink
fix: add missing workload management annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Suleyman Akbas <[email protected]>
  • Loading branch information
suleymanakbas91 committed Apr 5, 2023
1 parent 68c49d5 commit 10cba61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundle/manifests/lvms-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions config/manifests/bases/clusterserviceversion.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10cba61

Please sign in to comment.