File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -553,6 +553,11 @@ export TLS_CIPHER_SUITES=""
553
553
# and kubelet
554
554
export CLOUD_PROVIDER_FLAG=" ${CLOUD_PROVIDER_FLAG:- external} "
555
555
556
+ # Don't run the node-ipam-controller on the KCM if cloud-provider external
557
+ if [[ " ${CLOUD_PROVIDER_FLAG} " == " external" ]]; then
558
+ RUN_CONTROLLERS=" ${RUN_CONTROLLERS:-* ,-node-ipam-controller} "
559
+ fi
560
+
556
561
# When ENABLE_AUTH_PROVIDER_GCP is set, following flags for out-of-tree credential provider for GCP
557
562
# are presented to kubelet:
558
563
# --image-credential-provider-config=${path-to-config}
Original file line number Diff line number Diff line change @@ -602,6 +602,11 @@ export TLS_CIPHER_SUITES=""
602
602
# and kubelet
603
603
export CLOUD_PROVIDER_FLAG=" ${CLOUD_PROVIDER_FLAG:- external} "
604
604
605
+ # Don't run the node-ipam-controller on the KCM if cloud-provider external
606
+ if [[ " ${CLOUD_PROVIDER_FLAG} " == " external" ]]; then
607
+ RUN_CONTROLLERS=" ${RUN_CONTROLLERS:-* ,-node-ipam-controller} "
608
+ fi
609
+
605
610
# When ENABLE_AUTH_PROVIDER_GCP is set, following flags for out-of-tree credential provider for GCP
606
611
# are presented to kubelet:
607
612
# --image-credential-provider-config=${path-to-config}
You can’t perform that action at this time.
0 commit comments