Fix for missing init container in rbd-provisioner

Change-Id: Iadf05b6b233448f233866048d64d7167d8857438
Signed-off-by: Mateusz Blaszkowski <mateusz.blaszkowski@intel.com>
This commit is contained in:
Mateusz Blaszkowski 2017-09-19 07:41:28 -04:00
parent ae4da1e7ef
commit 06edf20328
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ spec:
spec:
affinity:
{{ tuple $envAll "rbd" "provisioner" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
initContainers:
{{ tuple $envAll $dependencies "[]" | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
- name: ceph-rbd-provisioner
image: {{ .Values.images.rbd_provisioner }}

View File

@ -257,7 +257,7 @@ dependencies:
- service: ceph_mon
endpoint: internal
rbd_provisioner:
jobs:
services:
- service: ceph_mon
endpoint: internal
ks_user: