Remove the dependency on apache htpasswd.

This commit is contained in:
Brendan Burns
2014-06-27 10:29:52 -07:00
parent affaf173bf
commit 4eccd64e0f
3 changed files with 182 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ trap "rm -rf ${KUBE_TEMP}" EXIT
get-password
echo "Using password: $user:$passwd"
htpasswd -b -c ${KUBE_TEMP}/htpasswd $user $passwd
python $(dirname $0)/../third_party/htpasswd/htpasswd.py -b -c ${KUBE_TEMP}/htpasswd $user $passwd
HTPASSWD=$(cat ${KUBE_TEMP}/htpasswd)
(