diff --git a/templates/registry/registry-cm.yaml b/templates/registry/registry-cm.yaml
index 26e3fc915..de8b4d4be 100644
--- a/templates/registry/registry-cm.yaml
+++ b/templates/registry/registry-cm.yaml
@@ -155,7 +155,7 @@ data:
         {{- end }}
       {{- end }}
       cache:
-        layerinfo: redis
+        layerinfo: {{ .Values.registry.layerCache }}
       maintenance:
         uploadpurging:
           {{- if .Values.registry.upload_purging.enabled }}
diff --git a/values.yaml b/values.yaml
index 926bc1627..78c36260e 100644
--- a/values.yaml
+++ b/values.yaml
@@ -786,6 +786,9 @@ registry:
     # the interval of the purge operations
     interval: 24h
     dryrun: false
+  # configure layer caching storage driver.
+  # options are `redis`, `inmemory` - any other value will disable caching
+  layerCache: redis
 
 trivy:
   # enabled the flag to enable Trivy scanner