This commit is contained in:
parent
0fd5175a1d
commit
8ac305f1cc
@ -18,7 +18,7 @@ if ! kubectl get secret "$secret" > /dev/null 2>&1; then
|
|||||||
--from-literal=email="$email" \
|
--from-literal=email="$email" \
|
||||||
--from-literal=username="$name" \
|
--from-literal=username="$name" \
|
||||||
--from-literal=password="$(openssl rand -hex 32)"
|
--from-literal=password="$(openssl rand -hex 32)"
|
||||||
SECRET="$secret" kapply common/createadmin.yaml
|
NAME="$name" SECRET="$secret" kapply common/createadmin.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$scopes" ]; then
|
if [ -n "$scopes" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user