Skip to content

Commit

Permalink
Merge pull request #55 from openshift-cherrypick-robot/cherry-pick-52…
Browse files Browse the repository at this point in the history
…-to-release-0.13

[release-0.13] Tolerate control-plane node taint
  • Loading branch information
openshift-merge-robot authored Sep 8, 2022
2 parents cbe9746 + 1eed661 commit 49358be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ spec:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
containers:
- args:
- --health-probe-bind-address=:8081
Expand Down Expand Up @@ -277,6 +280,8 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
permissions:
- rules:
- apiGroups:
Expand Down
5 changes: 5 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@ spec:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
securityContext:
runAsNonRoot: true
priorityClassName: system-cluster-critical
Expand Down

0 comments on commit 49358be

Please sign in to comment.