mirror of
				https://github.com/honestbee/drone-kubernetes.git
				synced 2025-11-04 09:18:05 +00:00 
			
		
		
		
	Fix separator in string to array conversion
This commit is contained in:
		
							parent
							
								
									18bb02bede
								
							
						
					
					
						commit
						0378bbb9d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -17,7 +17,7 @@ kubectl config set-cluster default --server=${KUBERNETES_SERVER} --insecure-skip
 | 
				
			||||||
kubectl config set-context default --cluster=default --user=default
 | 
					kubectl config set-context default --cluster=default --user=default
 | 
				
			||||||
kubectl config use-context default
 | 
					kubectl config use-context default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
IFS=', ' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT"
 | 
					IFS=',' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT"
 | 
				
			||||||
for DEPLOY in ${DEPLOYMENTS[@]}; do
 | 
					for DEPLOY in ${DEPLOYMENTS[@]}; do
 | 
				
			||||||
  echo Deploying to $KUBERNETES_SERVER
 | 
					  echo Deploying to $KUBERNETES_SERVER
 | 
				
			||||||
  kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \
 | 
					  kubectl -n ${PLUGIN_NAMESPACE} set image deployment/${DEPLOY} \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue