mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #15984 from mikedanese/aws-extensions
Auto commit by PR queue bot
This commit is contained in:
		
							
								
								
									
										6
									
								
								cluster/aws/util.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										6
									
								
								cluster/aws/util.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -443,10 +443,10 @@ function create-dhcp-option-set () {
 | 
				
			|||||||
function verify-prereqs {
 | 
					function verify-prereqs {
 | 
				
			||||||
  if [[ "${ENABLE_EXPERIMENTAL_API}" == "true" ]]; then
 | 
					  if [[ "${ENABLE_EXPERIMENTAL_API}" == "true" ]]; then
 | 
				
			||||||
    if [[ -z "${RUNTIME_CONFIG}" ]]; then
 | 
					    if [[ -z "${RUNTIME_CONFIG}" ]]; then
 | 
				
			||||||
      RUNTIME_CONFIG="experimental/v1alpha1=true"
 | 
					      RUNTIME_CONFIG="extensions/v1beta1=true"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      # TODO: add checking if RUNTIME_CONFIG contains "experimental/v1alpha1=false" and appending "experimental/v1alpha1=true" if not.
 | 
					      # TODO: add checking if RUNTIME_CONFIG contains "extensions/v1beta1=false" and appending "extensions/v1beta1=true" if not.
 | 
				
			||||||
      if echo "${RUNTIME_CONFIG}" | grep -q -v "experimental/v1alpha1=true"; then
 | 
					      if echo "${RUNTIME_CONFIG}" | grep -q -v "extensions/v1beta1=true"; then
 | 
				
			||||||
        echo "Experimental API should be turned on, but is not turned on in RUNTIME_CONFIG!"
 | 
					        echo "Experimental API should be turned on, but is not turned on in RUNTIME_CONFIG!"
 | 
				
			||||||
        exit 1
 | 
					        exit 1
 | 
				
			||||||
      fi
 | 
					      fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user