Skip to content

Commit 8c8a612

Browse files
authored
Update node selector and toleration for ccm (#869)
1 parent df24ab6 commit 8c8a612

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

hack/ccm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REGISTRY=gcr.io/k8s-staging-capi-ibmcloud
1616
IMG=powervs-cloud-controller-manager
1717

1818
# POWERVS_CLOUD_CONTROLLER_COMMIT can be fetched from here https://github.com/openshift/cloud-provider-powervs/commits/main
19-
POWERVS_CLOUD_CONTROLLER_COMMIT?=0b18bec
19+
POWERVS_CLOUD_CONTROLLER_COMMIT?=07d19bf
2020
TAG?=$(POWERVS_CLOUD_CONTROLLER_COMMIT)
2121

2222
build-image-and-push-linux-amd64: init-buildx

templates/cluster-template-powervs-cloud-provider.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,14 +462,17 @@ data:
462462
k8s-app: ibmpowervs-cloud-controller-manager
463463
spec:
464464
nodeSelector:
465-
node-role.kubernetes.io/master: ""
465+
node-role.kubernetes.io/control-plane: ""
466466
tolerations:
467467
- key: node.cloudprovider.kubernetes.io/uninitialized
468468
value: "true"
469469
effect: NoSchedule
470470
- key: node-role.kubernetes.io/master
471471
effect: NoSchedule
472472
operator: Exists
473+
- key: node-role.kubernetes.io/control-plane
474+
effect: NoSchedule
475+
operator: Exists
473476
- key: node.kubernetes.io/not-ready
474477
effect: NoSchedule
475478
operator: Exists

0 commit comments

Comments
 (0)