mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-28 00:07:44 +01:00
6 lines
205 B
Bash
Executable File
6 lines
205 B
Bash
Executable File
#!/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 |