Skip to content

Commit

Permalink
add-toleration-for-unitialized-nodes (#291)
Browse files Browse the repository at this point in the history
Co-authored-by: paurosello <[email protected]>
  • Loading branch information
calvix and paurosello authored Apr 15, 2024
1 parent 487d4e7 commit 3e0f6ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Add toleration for `node.cluster.x-k8s.io/uninitialized` taint.
- Remove toleration for old `node-role.kubernetes.io/master` taint.
- Allow ALB controller to be installed on any namespace.

## [0.21.1] - 2024-04-11
Expand Down
10 changes: 3 additions & 7 deletions helm/capa-iam-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ spec:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
weight: 10
- preference:
matchExpressions:
- key: node-role.kubernetes.io/master
operator: DoesNotExist
weight: 10
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
- effect: NoSchedule
key: "node.cluster.x-k8s.io/uninitialized"
operator: "Exists"
serviceAccountName: {{ include "resource.default.name" . }}
securityContext:
runAsUser: {{ .Values.pod.user.id }}
Expand Down

0 comments on commit 3e0f6ea

Please sign in to comment.