summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/files/examples/v1.3/db-templates/README.md
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-27 10:24:10 -0400
committerGitHub <noreply@github.com>2016-08-27 10:24:10 -0400
commitc0cae15a08cb7418e007b8bd426d68f4c20cdac1 (patch)
tree13f525882ad5f3556a77eddc4d551680d44f1f34 /roles/openshift_examples/files/examples/v1.3/db-templates/README.md
parent9dfd967f81a3ab02ed5c55586e9746ca697763fa (diff)
parent5b66d9476db6a61d8ad98b3b14301ad7afda5811 (diff)
downloadopenshift-c0cae15a08cb7418e007b8bd426d68f4c20cdac1.tar.gz
openshift-c0cae15a08cb7418e007b8bd426d68f4c20cdac1.tar.bz2
openshift-c0cae15a08cb7418e007b8bd426d68f4c20cdac1.tar.xz
openshift-c0cae15a08cb7418e007b8bd426d68f4c20cdac1.zip
Merge pull request #2371 from sdodson/image-stream-sync
Sync image stream and templates
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.3/db-templates/README.md')
-rw-r--r--roles/openshift_examples/files/examples/v1.3/db-templates/README.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/roles/openshift_examples/files/examples/v1.3/db-templates/README.md b/roles/openshift_examples/files/examples/v1.3/db-templates/README.md
index 609f4dec9..c66bdb8bf 100644
--- a/roles/openshift_examples/files/examples/v1.3/db-templates/README.md
+++ b/roles/openshift_examples/files/examples/v1.3/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.