Skip to content

Commit

Permalink
[DOWNSTREAM ONLY] add ocs default toleration to controller podspec
Browse files Browse the repository at this point in the history
all components deployed as part of odf should tolerate this taint by
default "node.ocs.openshift.io/storage=true:NoSchedule"

part of https://bugzilla.redhat.com/show_bug.cgi?id=2315651

Signed-off-by: Leela Venkaiah G <[email protected]>
  • Loading branch information
leelavg committed Oct 4, 2024
1 parent ecc4d7b commit e6f9cb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ spec:
memory: 64Mi
serviceAccountName: csi-addons-controller-manager
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
key: node.ocs.openshift.io/storage
operator: Equal
value: "true"
5 changes: 5 additions & 0 deletions deploy/controller/setup-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,8 @@ spec:
runAsNonRoot: true
serviceAccountName: csi-addons-controller-manager
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
key: node.ocs.openshift.io/storage
operator: Equal
value: "true"

0 comments on commit e6f9cb7

Please sign in to comment.