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

setting environment variable PROVIDER no longer works #678

Closed
surajnarwade opened this issue Jun 30, 2017 · 2 comments
Closed

setting environment variable PROVIDER no longer works #678

surajnarwade opened this issue Jun 30, 2017 · 2 comments

Comments

@surajnarwade
Copy link
Contributor

surajnarwade commented Jun 30, 2017

Kompose user guide states as:

... By setting environment variable PROVIDER you can permanently switch to OpenShift provider without need to always specify --provider openshift option. 

but it doesn't work.

$ export PROVIDER=openshift
$ echo $PROVIDER
openshift
$ kompose convert 
INFO Kubernetes file "frontend-service.yaml" created 
INFO Kubernetes file "redis-master-service.yaml" created 
INFO Kubernetes file "redis-slave-service.yaml" created 
INFO Kubernetes file "frontend-deployment.yaml" created 
INFO Kubernetes file "redis-master-deployment.yaml" created 
INFO Kubernetes file "redis-slave-deployment.yaml" created 
@cdrage
Copy link
Member

cdrage commented Jun 30, 2017

Should we even support this?

@surajnarwade
Copy link
Contributor Author

@cdrage probably not, but we should remove it from user-guide as well.

surajnarwade added a commit to surajnarwade/kompose that referenced this issue Jul 5, 2017
Fixes issue kubernetes#678. As we no longer supports setting provider by environment
variable, this PR will remove documentation for the same.
surajnarwade added a commit to surajnarwade/kompose that referenced this issue Jul 6, 2017
Fixes issue kubernetes#678. As we no longer supports setting provider by environment
variable, this PR will remove documentation for the same.
ashetty1 pushed a commit to ashetty1/kompose that referenced this issue Aug 10, 2017
Fixes issue kubernetes#678. As we no longer supports setting provider by environment
variable, this PR will remove documentation for the same.
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