From 0dbeca9d9d5a5afc61b4595a03303ba450bb8d6f Mon Sep 17 00:00:00 2001 From: Pratik Date: Tue, 6 Apr 2021 11:18:41 +0530 Subject: [PATCH] fix --- erpnext/templates/deployment-erpnext.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/templates/deployment-erpnext.yaml b/erpnext/templates/deployment-erpnext.yaml index 9f33225..43de5c8 100644 --- a/erpnext/templates/deployment-erpnext.yaml +++ b/erpnext/templates/deployment-erpnext.yaml @@ -31,7 +31,9 @@ spec: command: ['sh', '-c'] args: ['chown -R 1000:1000 /home/frappe/frappe-bench'] securityContext: + {{- if .Values.securityContext }} {{- toYaml .Values.securityContext | nindent 12 }} + {{- end }} capabilities: add: ["CAP_CHOWN"] volumeMounts: