mirror of
				https://github.com/honestbee/drone-kubernetes.git
				synced 2025-11-04 07:28:05 +00:00 
			
		
		
		
	Fix shell syntax
This commit is contained in:
		
							parent
							
								
									3042727362
								
							
						
					
					
						commit
						d852c78c04
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -5,11 +5,11 @@ if [ -z ${PLUGIN_NAMESPACE} ]; then
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z PLUGIN_KUBERNETES_TOKEN ]; then
 | 
					if [ -z PLUGIN_KUBERNETES_TOKEN ]; then
 | 
				
			||||||
  PLUGIN_KUBERNETES_TOKEN = $KUBERNETES_TOKEN
 | 
					  PLUGIN_KUBERNETES_TOKEN=$KUBERNETES_TOKEN
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z PLUGIN_KUBERNETES_SERVER ]; then
 | 
					if [ -z PLUGIN_KUBERNETES_SERVER ]; then
 | 
				
			||||||
  PLUGIN_KUBERNETES_SERVER = $KUBERNETES_SERVER
 | 
					  PLUGIN_KUBERNETES_SERVER=$KUBERNETES_SERVER
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
kubectl config set-credentials default --token=${PLUGIN_KUBERNETES_TOKEN}
 | 
					kubectl config set-credentials default --token=${PLUGIN_KUBERNETES_TOKEN}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue