diff --git a/erpnext/templates/deployment-erpnext.yaml b/erpnext/templates/deployment-erpnext.yaml index 9b854dc..9f33225 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 }} + {{- if .Values.volumePermissions.enabled }} initContainers: - name: frappe-bench-ownership image: quay.io/libpod/alpine:3.2