diff --git a/manifests/bin/createadmin.sh b/manifests/bin/createadmin.sh index 88a38d0..477095a 100755 --- a/manifests/bin/createadmin.sh +++ b/manifests/bin/createadmin.sh @@ -18,7 +18,7 @@ if ! kubectl get secret "$secret" > /dev/null 2>&1; then --from-literal=email="$email" \ --from-literal=username="$name" \ --from-literal=password="$(openssl rand -hex 32)" - SECRET="$secret" kapply common/createadmin.yaml + NAME="$name" SECRET="$secret" kapply common/createadmin.yaml fi if [ -n "$scopes" ]; then