Commit a9b96334 authored by Yuri Konotopov's avatar Yuri Konotopov

openshift: mount persistent volumes for Software job.

parent cfd75f46
......@@ -466,11 +466,31 @@
"spec": {
"template": {
"spec": {
"volumes": [
{
"name": "data-volume",
"persistentVolumeClaim": {
"claimName": "extensions-claim"
}
}
],
"containers": [
{
"name": "update-software",
"image": "${NAME}:latest",
"command": ["/extensions-web/app/bin/sweettooth-cron-software"]
"command": ["/extensions-web/app/bin/sweettooth-cron-software"],
"volumeMounts": [
{
"name": "data-volume",
"mountPath": "/extensions-web/www",
"subPath": "www"
},
{
"mountPath": "/extensions-web/data",
"name": "data-volume",
"subPath": "data"
}
]
}
],
"restartPolicy": "Never"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment