From d5fecffdc12cdd36c8870c0d76fa09dab1370131 Mon Sep 17 00:00:00 2001 From: Chinasubbareddy M Date: Wed, 19 Sep 2018 14:35:21 -0500 Subject: [PATCH] ceph-rgw: stop storage init job on each run this is to stop executing storage init job if we have ceph deployment false under values Change-Id: Iee3f7cf4c98a2c68c27b42011ffe6f07b278c2c4 --- ceph-rgw/templates/job-rgw-storage-init.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-rgw/templates/job-rgw-storage-init.yaml b/ceph-rgw/templates/job-rgw-storage-init.yaml index 8f9a58d1d..0945d3bc0 100644 --- a/ceph-rgw/templates/job-rgw-storage-init.yaml +++ b/ceph-rgw/templates/job-rgw-storage-init.yaml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */}} -{{- if .Values.manifests.job_ceph_rgw_storage_init }} +{{- if and .Values.manifests.job_ceph_rgw_storage_init .Values.deployment.ceph }} {{- $envAll := . }} {{- $serviceAccountName := "ceph-rgw-storage-init" }}