Error while creating admin user
kubectl exec -it deploy/swaggerhub-operator -n default -- cmd create-admin-user superuser -p password test@exmaple.com myorg
Creating admin user superuser
node:internal/process/promises:265
triggerUncaughtException(err, true /* fromPromise */);
^
HTTPError: Response code 400 (Bad Request)
at Request.<anonymous> (/app/node_modules/got/dist/source/as-promise/index.js:117:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_NON_2XX_3XX_RESPONSE',
timings: {
start: 1647501097963,
socket: 1647501097965,
lookup: 1647501097966,
connect: 1647501097968,
secureConnect: undefined,
upload: 1647501097968,
response: 1647501097994,
end: 1647501097996,
error: undefined,
abort: undefined,
phases: {
wait: 2,
dns: 1,
tcp: 2,
tls: undefined,
request: 0,
firstByte: 26,
download: 2,
total: 33
}
}
}
command terminated with exit code 1