Fix template, add required metadata

This commit is contained in:
Rodolfo Carvalho 2015-05-22 15:33:35 +02:00
parent fada708b03
commit 83a388343b

View file

@ -147,6 +147,12 @@
"name": "${FRONTEND_SERVICE_NAME}" "name": "${FRONTEND_SERVICE_NAME}"
}, },
"template": { "template": {
"metadata": {
"name": "${FRONTEND_SERVICE_NAME}",
"labels": {
"name": "${FRONTEND_SERVICE_NAME}"
}
},
"spec": { "spec": {
"containers": [ "containers": [
{ {
@ -203,6 +209,12 @@
"name": "${DATABASE_SERVICE_NAME}" "name": "${DATABASE_SERVICE_NAME}"
}, },
"template": { "template": {
"metadata": {
"name": "${DATABASE_SERVICE_NAME}",
"labels": {
"name": "${DATABASE_SERVICE_NAME}"
}
},
"spec": { "spec": {
"containers": [ "containers": [
{ {