{{- if index .Values "index-cache" "enabled" }}
{{- include "mimir.lib.serviceMonitor" (dict "ctx" $ "component" "index-cache") }}
{{- end -}}