mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #59280 from dims/allow-custom-cloud-controller-manager
Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Ability to run an external binary instead of hyperkube cloud-controller-manager **What this PR does / why we need it**: Since we want folks to test their own binaries, let's allow a way for them them to specify a custom binary. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
		@@ -66,6 +66,7 @@ WAIT_FOR_URL_API_SERVER=${WAIT_FOR_URL_API_SERVER:-60}
 | 
			
		||||
ENABLE_DAEMON=${ENABLE_DAEMON:-false}
 | 
			
		||||
HOSTNAME_OVERRIDE=${HOSTNAME_OVERRIDE:-"127.0.0.1"}
 | 
			
		||||
EXTERNAL_CLOUD_PROVIDER=${EXTERNAL_CLOUD_PROVIDER:-false}
 | 
			
		||||
EXTERNAL_CLOUD_PROVIDER_BINARY=${EXTERNAL_CLOUD_PROVIDER_BINARY:-""}
 | 
			
		||||
CLOUD_PROVIDER=${CLOUD_PROVIDER:-""}
 | 
			
		||||
CLOUD_CONFIG=${CLOUD_CONFIG:-""}
 | 
			
		||||
FEATURE_GATES=${FEATURE_GATES:-"AllAlpha=false"}
 | 
			
		||||
@@ -647,7 +648,7 @@ function start_cloud_controller_manager {
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    CLOUD_CTLRMGR_LOG=${LOG_DIR}/cloud-controller-manager.log
 | 
			
		||||
    ${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" cloud-controller-manager \
 | 
			
		||||
    ${CONTROLPLANE_SUDO} ${EXTERNAL_CLOUD_PROVIDER_BINARY:-"${GO_OUT}/hyperkube" cloud-controller-manager} \
 | 
			
		||||
      --v=${LOG_LEVEL} \
 | 
			
		||||
      --vmodule="${LOG_SPEC}" \
 | 
			
		||||
      ${node_cidr_args} \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user