use latest imagestreams for nodejs and mongo (#56)

* use latest mongo and nodejs versions

* update readiness check for mongo 3.2
This commit is contained in:
Ben Parees 2016-07-13 13:24:50 -04:00 committed by GitHub
parent 8b9463d1d4
commit e61190a1a1
2 changed files with 4 additions and 4 deletions

View file

@ -83,7 +83,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "nodejs:0.10"
"name": "nodejs:4"
},
"env": [
{
@ -271,7 +271,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "mongodb:2.6"
"name": "mongodb:3.2"
}
}
},
@ -322,7 +322,7 @@
"timeoutSeconds": 1,
"initialDelaySeconds": 3,
"exec": {
"command": [ "/bin/sh", "-i", "-c", "mongostat --host 127.0.0.1 -u admin -p ${DATABASE_ADMIN_PASSWORD} -n 1 --noheaders"]
"command": [ "/bin/sh", "-i", "-c", "mongo 127.0.0.1:27017/$MONGODB_DATABASE -u $MONGODB_USER -p $MONGODB_PASSWORD --eval=\"quit()\""]
}
},
"livenessProbe": {

View file

@ -83,7 +83,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "nodejs:0.10"
"name": "nodejs:4"
},
"env": [
{