rpi.carlosedp.cluster-monit.../create_gmail_auth.sh

11 lines
281 B
Bash
Raw Normal View History

2019-02-04 20:24:49 +01:00
#!/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}