diff --git a/chart/templates/deployment-postgres.yaml b/chart/templates/deployment-postgres.yaml
index ac1669f1d384e42b8fbb026c91850ee574a6a1d2..c0e191b4372062587521613d4613656d4043e483 100644
--- a/chart/templates/deployment-postgres.yaml
+++ b/chart/templates/deployment-postgres.yaml
@@ -16,11 +16,11 @@ spec:
     {{ .Values.postgresql.dbName }}: {{ .Values.postgresql.dbUser }}
   preparedDatabases:
     {{ .Values.postgresql.dbName }}:
-    defaultUsers: false
-    schemas:
-      public:
-        defaultRoles: true
-        defaultUsers: false
+      defaultUsers: false
+      schemas:
+        public:
+          defaultRoles: true
+          defaultUsers: false
     {{- with .Values.postgresql.preparedDatabases.extensions }}
     extensions:
     {{- toYaml . | nindent 8 }}