mirror of
				https://github.com/carlosedp/cluster-monitoring.git
				synced 2025-10-26 10:23:04 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| echo "Please enter your Gmail account";
 | |
| read username;
 | |
| 
 | |
| echo "Please enter your Gmail password";
 | |
| read -s password;
 | |
| 
 | |
| echo "Creating secret"
 | |
| kubectl create secret generic smtp-account -n monitoring --from-literal=username=${username} --from-literal=password=${password}
 |