File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2241,6 +2241,9 @@ function start-kube-controller-manager {
22412241  if  [[ -n  " ${FEATURE_GATES:- } " ;  then 
22422242    params+=(" --feature-gates=${FEATURE_GATES} " 
22432243  fi 
2244+   if  [[ -n  " ${KUBE_EMULATED_VERSION:- } " ;  then 
2245+     params+=(" --emulated-version=kube=${KUBE_EMULATED_VERSION} " 
2246+   fi 
22442247  if  [[ -n  " ${VOLUME_PLUGIN_DIR:- } " ;  then 
22452248    params+=(" --flex-volume-plugin-dir=${VOLUME_PLUGIN_DIR} " 
22462249  fi 
@@ -2454,6 +2457,9 @@ function start-kube-scheduler {
24542457  if  [[ -n  " ${FEATURE_GATES:- } " ;  then 
24552458    params+=(" --feature-gates=${FEATURE_GATES} " 
24562459  fi 
2460+   if  [[ -n  " ${KUBE_EMULATED_VERSION:- } " ;  then 
2461+     params+=(" --emulated-version=kube=${KUBE_EMULATED_VERSION} " 
2462+   fi 
24572463
24582464  #  Scheduler Component Config takes precedence over some flags.
24592465  if  [[ -n  " ${KUBE_SCHEDULER_CONFIG:- } " ;  then 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments