diff --git a/erpnext/templates/deployment-erpnext.yaml b/erpnext/templates/deployment-erpnext.yaml index 4f90065..9b854dc 100644 --- a/erpnext/templates/deployment-erpnext.yaml +++ b/erpnext/templates/deployment-erpnext.yaml @@ -23,7 +23,7 @@ spec: serviceAccountName: {{ include "erpnext.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }} + {{- if and .Values.volumePermissions.enabled }} initContainers: - name: frappe-bench-ownership image: quay.io/libpod/alpine:3.2