openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
135 stars 146 forks source link

MongoDB template does not have Secret bind step. Describe the secret creation manually. #117

Closed rafaeltuelho closed 3 years ago

rafaeltuelho commented 5 years ago

For some reason, the MongoDB Ephemeral template on OCP 3.11 Catalog does not show the Secret Binding step anymore.

So, would be better to describe how to create the mongodb secret used by nationalparks service manually. Like this:

oc create secret generic mongodb-conn-secret \
--from-literal="admin_password=mongodb" \
--from-literal="database_name=mongodb" \
--from-literal="password=mongodb" \
--from-literal="username=mongodb" \
--from-literal="uri=mongodb://mongodb-nationalparks:27017"