diff --git a/chart/templates/init-db-configmap.yaml b/chart/templates/init-db-configmap.yaml
index c012c5c66be6134b255b8c30d206db3ecfd2587c..a0516d5b6af5683ade2dcc94d3d96d38a984f0e5 100644
--- a/chart/templates/init-db-configmap.yaml
+++ b/chart/templates/init-db-configmap.yaml
@@ -1,7 +1,7 @@
 apiVersion: v1
 data:
   init-db.sh: |
-    {{- .Values.initDb }}
+    {{- .Values.initDb | nindent 4 }}
 kind: ConfigMap
 metadata:
   name: {{ include "vs.fullname" . }}-init-db