Fix issues with Python3 and bring up a dev cluster

This commit is contained in:
Josh Ellithorpe
2016-01-11 17:18:41 -08:00
committed by quest
parent 651206fd90
commit 76e8a8b08d
7 changed files with 9 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ function get-kubeconfig-basicauth() {
# KUBE_PASSWORD
function gen-kube-basicauth() {
KUBE_USER=admin
KUBE_PASSWORD=$(python -c 'import string,random; print "".join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _ in range(16))')
KUBE_PASSWORD=$(python -c 'import string,random; print("".join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _ in range(16)))')
}
# Get the bearer token for the current-context in kubeconfig if one exists.