Merge pull request #43 from gabemontero/fixTemplatesVolLab

add volume labels from origin version
This commit is contained in:
Ben Parees 2016-05-12 13:19:55 -04:00
commit 77f7d4bec3

View file

@ -287,6 +287,12 @@
} }
}, },
"spec": { "spec": {
"volumes": [
{
"name": "data",
"emptyDir": {}
}
],
"containers": [ "containers": [
{ {
"name": "postgresql", "name": "postgresql",
@ -310,6 +316,12 @@
"value": "${DATABASE_NAME}" "value": "${DATABASE_NAME}"
} }
], ],
"volumeMounts": [
{
"name": "data",
"mountPath": "/var/lib/pgsql/data"
}
],
"readinessProbe": { "readinessProbe": {
"timeoutSeconds": 1, "timeoutSeconds": 1,
"initialDelaySeconds": 5, "initialDelaySeconds": 5,