Add missing init_containers for keystone and mariadb.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
This commit is contained in:
DTadrzak 2016-11-23 13:23:23 +01:00
parent 67b6153586
commit 4587100c79
2 changed files with 38 additions and 0 deletions

View File

@ -8,6 +8,27 @@ spec:
metadata: metadata:
labels: labels:
app: keystone-api app: keystone-api
annotations:
pod.beta.kubernetes.io/init-containers: '[
{
"name": "init",
"image": "quay.io/stackanetes/kubernetes-entrypoint:v0.1.0",
"env": [
{
"name": "DEPENDENCY_SERVICE",
"value": "mariadb"
},
{
"name": "DEPENDENCY_JOBS",
"value": "mariadb-seed,nova-db-sync"
},
{
"name": "COMMAND",
"value": "echo Done"
}
]
}
]'
spec: spec:
nodeSelector: nodeSelector:
{{ .Values.global.deployment.control_node_label }}: enabled {{ .Values.global.deployment.control_node_label }}: enabled

View File

@ -11,6 +11,23 @@ spec:
labels: labels:
app: mariadb app: mariadb
galera: enabled galera: enabled
annotations:
pod.beta.kubernetes.io/init-containers: '[
{
"name": "init",
"image": "quay.io/stackanetes/kubernetes-entrypoint:v0.1.0",
"env": [
{
"name": "DEPENDENCY_JOBS",
"value": "mariadb-seed"
},
{
"name": "COMMAND",
"value": "echo Done"
}
]
}
]'
spec: spec:
nodeSelector: nodeSelector:
{{ .Values.deployment.control_node_label }}: enabled {{ .Values.deployment.control_node_label }}: enabled