nodejs-ex icon indicating copy to clipboard operation
nodejs-ex copied to clipboard

warning: --env no longer accepts comma-separated lists of values

Open jeffhoek opened this issue 6 years ago • 1 comments

When running:

oc new-app centos/mongodb-26-centos7 -e MONGODB_USER=admin,MONGODB_DATABASE=mongo_db,MONGODB_PASSWORD=secret,MONGODB_ADMIN_PASSWORD=super-secret

I get this warning:

warning: --env no longer accepts comma-separated lists of values. "MONGODB_USER=admin,MONGODB_DATABASE=mongo_db,MONGODB_PASSWORD=secret,MONGODB_ADMIN_PASSWORD=super-secret" will be treated as a single key-value pair.

The fix is:

oc new-app centos/mongodb-26-centos7 -e MONGODB_USER=admin -e MONGODB_DATABASE=mongo_db -e MONGODB_PASSWORD=secret -e MONGODB_ADMIN_PASSWORD=super-secret

jeffhoek avatar Oct 23 '19 20:10 jeffhoek

are you suggesting the readme be updated to reflect the new syntax? or is there somewhere else that needs to be changed?

i'd be happy to merge a PR to the readme if you'd like to submit one.

bparees avatar Oct 23 '19 20:10 bparees