mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-22 19:09:30 +01:00
6 lines
205 B
Bash
6 lines
205 B
Bash
|
#!/bin/bash
|
||
|
if [[ $# -eq 0 ]] ; then
|
||
|
echo "Run the script with the required auth user and namespace for the secret: ${0} [user] [namespace]"
|
||
|
exit 0
|
||
|
fi
|
||
|
printf "${1}:`openssl passwd -apr1`\n" >> auth
|