mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix typo in local-up-cluster
Use curly braces instead of round ones for bash variable expansion. The script complains about unknown ROOT_CA_FILE when running with KUBE_ENABLE_CLUSTER_DNS=true.
This commit is contained in:
		@@ -552,7 +552,7 @@ kind: Namespace
 | 
			
		||||
metadata:
 | 
			
		||||
  name: kube-system
 | 
			
		||||
EOF
 | 
			
		||||
        ${KUBECTL} config set-cluster local --server=https://${API_HOST}:${API_SECURE_PORT} --certificate-authority=$(ROOT_CA_FILE)
 | 
			
		||||
        ${KUBECTL} config set-cluster local --server=https://${API_HOST}:${API_SECURE_PORT} --certificate-authority=${ROOT_CA_FILE}
 | 
			
		||||
        ${KUBECTL} config set-context local --cluster=local
 | 
			
		||||
        ${KUBECTL} config use-context local
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user