Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-11426: Add missing workload management annotations #316

Merged
merged 1 commit into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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