diff --git a/templates/configmap.yaml b/templates/configmap.yaml index 0f046ea..3c94b63 100644 --- a/templates/configmap.yaml +++ b/templates/configmap.yaml @@ -1,3 +1,7 @@ +{{- /* Blob caching and the garbage-collection cronjob do not mix */ -}} +{{- if .Values.garbageCollect.enabled -}} +{{- $_ := set .Values.configData.storage.cache "blobdescriptor" "disabled" -}} +{{- end -}} apiVersion: v1 kind: ConfigMap metadata: