diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-12-08 11:34:14 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-12-08 11:34:14 -0500 |
commit | 090ec7a5f19587a35ef3aa73c6063e882de5bdb4 (patch) | |
tree | 4849bc55ea2a44d69387ec5a4eebbbf06a1d023e /roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json | |
parent | 056309be29f86c4250273b6afb191e541b089986 (diff) | |
parent | aab6d7dd1096b4379216ca7c0d8e6e57bb8ab7a9 (diff) | |
download | openshift-090ec7a5f19587a35ef3aa73c6063e882de5bdb4.tar.gz openshift-090ec7a5f19587a35ef3aa73c6063e882de5bdb4.tar.bz2 openshift-090ec7a5f19587a35ef3aa73c6063e882de5bdb4.tar.xz openshift-090ec7a5f19587a35ef3aa73c6063e882de5bdb4.zip |
Merge pull request #1011 from sdodson/sync-examples
Sync db-templates, image-streams, and quickstart-templates
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json')
-rw-r--r-- | roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json b/roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json index 8760b074c..21f943da7 100644 --- a/roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json +++ b/roles/openshift_examples/files/examples/v1.1/quickstart-templates/nodejs-mongodb.json @@ -98,6 +98,9 @@ "type": "ImageChange" }, { + "type": "ConfigChange" + }, + { "type": "GitHub", "github": { "secret": "${GITHUB_WEBHOOK_SECRET}" @@ -229,6 +232,20 @@ }, "triggers": [ { + "type": "ImageChange", + "imageChangeParams": { + "automatic": false, + "containerNames": [ + "mongodb" + ], + "from": { + "kind": "ImageStreamTag", + "namespace": "openshift", + "name": "mongodb:2.6" + } + } + }, + { "type": "ConfigChange" } ], @@ -247,7 +264,7 @@ "containers": [ { "name": "mongodb", - "image": "${MONGODB_IMAGE}", + "image": "mongodb", "ports": [ { "containerPort": 27017 @@ -336,11 +353,6 @@ "description": "Password for the database admin user", "generate": "expression", "from": "[a-zA-Z0-9]{16}" - }, - { - "name": "MONGODB_IMAGE", - "description": "Image to use for mongodb", - "value": "openshift/mongodb-24-centos7" } ] } |