add volume labels from origin version
This commit is contained in:
parent
26d90aed54
commit
7d797d8b70
1 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue