Disable memcache only when registry scanning is disabled
-{{- if and (eq .Values.memcached.enabled true) (eq .Values.git.readonly false) (eq .Values.registry.disableScanning false) }}
+{{- if and (eq .Values.memcached.enabled true) (eq .Values.registry.disableScanning false) }}
apiVersion: apps/v1
kind: Deployment
metadata:
