Merge pull request #28 from bparees/version

update image version
This commit is contained in:
Ben Parees 2015-11-20 19:36:09 -05:00
commit 7eef122c09
2 changed files with 20 additions and 6 deletions

View file

@ -97,6 +97,9 @@
{ {
"type": "ImageChange" "type": "ImageChange"
}, },
{
"type": "ConfigChange"
},
{ {
"type": "GitHub", "type": "GitHub",
"github": { "github": {
@ -228,6 +231,19 @@
"type": "Recreate" "type": "Recreate"
}, },
"triggers": [ "triggers": [
{
"type": "ImageChange",
"imageChangeParams": {
"automatic": false,
"containerNames": [
"mongodb"
],
"from": {
"kind": "ImageStreamTag",
"name": "mongodb:2.6"
}
}
},
{ {
"type": "ConfigChange" "type": "ConfigChange"
} }
@ -247,7 +263,7 @@
"containers": [ "containers": [
{ {
"name": "mongodb", "name": "mongodb",
"image": "${MONGODB_IMAGE}", "image": "mongodb",
"ports": [ "ports": [
{ {
"containerPort": 27017 "containerPort": 27017
@ -336,11 +352,6 @@
"description": "Password for the database admin user", "description": "Password for the database admin user",
"generate": "expression", "generate": "expression",
"from": "[a-zA-Z0-9]{16}" "from": "[a-zA-Z0-9]{16}"
},
{
"name": "MONGODB_IMAGE",
"description": "Image to use for mongodb",
"value": "openshift/mongodb-24-centos7"
} }
] ]
} }

View file

@ -97,6 +97,9 @@
{ {
"type": "ImageChange" "type": "ImageChange"
}, },
{
"type": "ConfigChange"
},
{ {
"type": "GitHub", "type": "GitHub",
"github": { "github": {