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

At what point does oc env MONGODB_SERVICE_HOST get populated? #92

Closed
alberttwong opened this issue Oct 16, 2015 · 1 comment
Closed

Comments

@alberttwong
Copy link

I have a question. The code knows to pull the correct IP for mongodb using $MONGODB_SERVICE_HOST. When does this variable get created and populated? When "oc new-app mongodb" get executed? If so, I tried to do a search across this project (returned 0 results) and couldn't find the spot that defines it.

@bparees
Copy link
Collaborator

bparees commented Dec 18, 2015

that value is automatically defined/injected by openshift/k8s when you have a service named "mongodb" defined in your namespace.

@bparees bparees closed this as completed Dec 18, 2015
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