From 06edf203284e55882f8dcd6c4c7e31c9db360e2e Mon Sep 17 00:00:00 2001 From: Mateusz Blaszkowski Date: Tue, 19 Sep 2017 07:41:28 -0400 Subject: [PATCH] Fix for missing init container in rbd-provisioner Change-Id: Iadf05b6b233448f233866048d64d7167d8857438 Signed-off-by: Mateusz Blaszkowski --- ceph/templates/deployment-rbd-provisioner.yaml | 2 ++ ceph/values.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph/templates/deployment-rbd-provisioner.yaml b/ceph/templates/deployment-rbd-provisioner.yaml index b2f2da679e..15a2c871ff 100644 --- a/ceph/templates/deployment-rbd-provisioner.yaml +++ b/ceph/templates/deployment-rbd-provisioner.yaml @@ -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 }} diff --git a/ceph/values.yaml b/ceph/values.yaml index 8c9158e93c..4e2607bc99 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -257,7 +257,7 @@ dependencies: - service: ceph_mon endpoint: internal rbd_provisioner: - jobs: + services: - service: ceph_mon endpoint: internal ks_user: