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:
parent
8b9463d1d4
commit
e61190a1a1
2 changed files with 4 additions and 4 deletions
|
@ -83,7 +83,7 @@
|
||||||
"from": {
|
"from": {
|
||||||
"kind": "ImageStreamTag",
|
"kind": "ImageStreamTag",
|
||||||
"namespace": "${NAMESPACE}",
|
"namespace": "${NAMESPACE}",
|
||||||
"name": "nodejs:0.10"
|
"name": "nodejs:4"
|
||||||
},
|
},
|
||||||
"env": [
|
"env": [
|
||||||
{
|
{
|
||||||
|
@ -271,7 +271,7 @@
|
||||||
"from": {
|
"from": {
|
||||||
"kind": "ImageStreamTag",
|
"kind": "ImageStreamTag",
|
||||||
"namespace": "${NAMESPACE}",
|
"namespace": "${NAMESPACE}",
|
||||||
"name": "mongodb:2.6"
|
"name": "mongodb:3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -322,7 +322,7 @@
|
||||||
"timeoutSeconds": 1,
|
"timeoutSeconds": 1,
|
||||||
"initialDelaySeconds": 3,
|
"initialDelaySeconds": 3,
|
||||||
"exec": {
|
"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": {
|
"livenessProbe": {
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
"from": {
|
"from": {
|
||||||
"kind": "ImageStreamTag",
|
"kind": "ImageStreamTag",
|
||||||
"namespace": "${NAMESPACE}",
|
"namespace": "${NAMESPACE}",
|
||||||
"name": "nodejs:0.10"
|
"name": "nodejs:4"
|
||||||
},
|
},
|
||||||
"env": [
|
"env": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue