Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeffhoek opened this issue Oct 23, 2019 · 1 comment
Open

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

jeffhoek opened this issue Oct 23, 2019 · 1 comment

Comments

@jeffhoek
Copy link

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
@bparees
Copy link

bparees commented Oct 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants