summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/files/examples/v1.2/db-templates/README.md
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-02 09:21:22 -0400
committerScott Dodson <sdodson@redhat.com>2016-09-02 09:21:22 -0400
commitaccd4d1bf999bb8be93436e7afb3cf81a3571549 (patch)
treef2cf0b24528b404bd530a7a8664776f3775bf5ba /roles/openshift_examples/files/examples/v1.2/db-templates/README.md
parent6afbf3c95b4dc466f431f360b21447bbd184d6f2 (diff)
downloadopenshift-accd4d1bf999bb8be93436e7afb3cf81a3571549.tar.gz
openshift-accd4d1bf999bb8be93436e7afb3cf81a3571549.tar.bz2
openshift-accd4d1bf999bb8be93436e7afb3cf81a3571549.tar.xz
openshift-accd4d1bf999bb8be93436e7afb3cf81a3571549.zip
Update image stream data
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.2/db-templates/README.md')
-rw-r--r--roles/openshift_examples/files/examples/v1.2/db-templates/README.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/roles/openshift_examples/files/examples/v1.2/db-templates/README.md b/roles/openshift_examples/files/examples/v1.2/db-templates/README.md
index 609f4dec9..c66bdb8bf 100644
--- a/roles/openshift_examples/files/examples/v1.2/db-templates/README.md
+++ b/roles/openshift_examples/files/examples/v1.2/db-templates/README.md
@@ -38,35 +38,11 @@ Replace `/path/to/template.json` with an appropriate path, that can be either a
local path or an URL. Example:
$ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/db-templates/mongodb-ephemeral-template.json
- --> Deploying template mongodb-ephemeral for "https://raw.githubusercontent.com/openshift/origin/master/examples/db-templates/mongodb-ephemeral-template.json"
- With parameters:
- DATABASE_SERVICE_NAME=mongodb
- MONGODB_USER=userJNX # generated
- MONGODB_PASSWORD=tnEDilMVrgjp5AI2 # generated
- MONGODB_DATABASE=sampledb
- MONGODB_ADMIN_PASSWORD=8bYEs8OlNYhVyMBs # generated
- --> Creating resources ...
- Service "mongodb" created
- DeploymentConfig "mongodb" created
- --> Success
- Run 'oc status' to view your app.
The parameters listed in the output above can be tweaked by specifying values in
the command line with the `-p` option:
$ oc new-app examples/db-templates/mongodb-ephemeral-template.json -p DATABASE_SERVICE_NAME=mydb -p MONGODB_USER=default
- --> Deploying template mongodb-ephemeral for "examples/db-templates/mongodb-ephemeral-template.json"
- With parameters:
- DATABASE_SERVICE_NAME=mydb
- MONGODB_USER=default
- MONGODB_PASSWORD=RPvMbWlQFOevSowQ # generated
- MONGODB_DATABASE=sampledb
- MONGODB_ADMIN_PASSWORD=K7tIjDxDHHYCvFrJ # generated
- --> Creating resources ...
- Service "mydb" created
- DeploymentConfig "mydb" created
- --> Success
- Run 'oc status' to view your app.
Note that the persistent template requires an existing persistent volume,
otherwise the deployment won't ever succeed.