diff --git a/chart/templates/statefulset.yaml b/chart/templates/statefulset.yaml
index b258434e2a5f11d3267a2d698f93a9cb0d12956f..edd84b89ac499187a2caf8ac2681597cdeec6c63 100644
--- a/chart/templates/statefulset.yaml
+++ b/chart/templates/statefulset.yaml
@@ -41,6 +41,9 @@ spec:
           imagePullPolicy: {{ .Values.image.pullPolicy }}
           args:
             - -config=/aptly/config/aptly.conf
+            {{- if .Values.extraArgs }}
+            {{- toYaml .Values.extraArgs | nindent 12 }}
+            {{- end }}
           ports:
             - name: api
               containerPort: 8080
diff --git a/chart/values.yaml b/chart/values.yaml
index de4dc94ed3302b72393a18fb158fe6c40155d0a3..66dfae24f9c370f286269e77b20d46951126f0a2 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -38,6 +38,10 @@ fullnameOverride: ""
 config:
   rootDir: /aptly/data
 
+# Add extra argument to the aptly-api container
+extraArgs: []
+#  - -no-lock
+
 persistence:
   accessModes: [ReadWriteOnce]
   annotations: {}