Add GPG ability to wrapper script
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/tag Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/tag Build is passing
				
			This commit is contained in:
		
							parent
							
								
									11016dad8f
								
							
						
					
					
						commit
						906a685cc7
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -1,3 +1,12 @@ | ||||||
|  | #!/bin/sh | ||||||
|  | 
 | ||||||
|  | GPG_KEY='/home/argocd/gpg/gpg.asc' | ||||||
|  | 
 | ||||||
|  | if [ -f ${GPG_KEY} ] | ||||||
|  | then      | ||||||
|  |     gpg --quiet --import ${GPG_KEY} | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| # helm secrets only supports a few helm commands | # helm secrets only supports a few helm commands | ||||||
| if [ $1 = "template" ] || [ $1 = "install" ] || [ $1 = "upgrade" ] || [ $1 = "lint" ] || [ $1 = "diff" ] | if [ $1 = "template" ] || [ $1 = "install" ] || [ $1 = "upgrade" ] || [ $1 = "lint" ] || [ $1 = "diff" ] | ||||||
| then  | then  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue