Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Add control-plane toleration to capabilities manager #3499

Merged
merged 1 commit into from
Oct 17, 2022
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
2 changes: 2 additions & 0 deletions capabilities/config/tanzu-capabilities-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
6 changes: 6 additions & 0 deletions capabilities/hack/ytt/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ deployment:
operator: ""
#@schema/nullable
tolerationSeconds: 0
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
value: ""
operator: ""
#@schema/nullable
tolerationSeconds: 0
rbac:
#! PSP resource names capabilities controller should use in its ClusterRole rules.
podSecurityPolicyNames:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
#@ end
#@ if hasattr(data.values, 'deployment') and hasattr(data.values.deployment, 'nodeSelector') and data.values.deployment.nodeSelector:
#@overlay/match missing_ok=True
Expand Down