Add missing init_containers for keystone and mariadb.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
This commit is contained in:
parent
67b6153586
commit
4587100c79
@ -8,6 +8,27 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
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:
|
||||
nodeSelector:
|
||||
{{ .Values.global.deployment.control_node_label }}: enabled
|
||||
|
@ -11,6 +11,23 @@ spec:
|
||||
labels:
|
||||
app: mariadb
|
||||
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:
|
||||
nodeSelector:
|
||||
{{ .Values.deployment.control_node_label }}: enabled
|
||||
|
Loading…
Reference in New Issue
Block a user