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" }}