'attempt to process the template and return it for comparison with oc objects'

def needs_update(self):

    obj_results = []
    for obj in self.template:
        skip = []
        if (obj['kind'] == 'ServiceAccount'):
            skip.extend(['secrets', 'imagePullSecrets'])
        if (obj['kind'] == 'BuildConfig'):
            skip.extend(['lastTriggeredImageID'])
        if (obj['kind'] == 'ImageStream'):
            skip.extend(['generation'])
        if (obj['kind'] == 'DeploymentConfig'):
            skip.extend(['lastTriggeredImage'])
        curr_obj_results = self._get(obj['kind'], obj['metadata']['name'])
        if (curr_obj_results['returncode'] != 0):
            if ('not    found' in curr_obj_results['stderr']):
                obj_results.append((obj, True))
                continue
        if (not Utils.check_def_equal(obj, curr_obj_results['results'][0], skip_keys=skip)):
            obj_results.append((obj, True))
            continue
        obj_results.append((obj, False))
    return obj_results
