def METHOD_NAME(self):
    base_spec = [
        {
            'name': 'cloudharness-allvalues',
            'mountPath': '/opt/cloudharness/resources/allvalues.yaml',
            'subPath': 'allvalues.yaml'
        }
    ]
    if is_accounts_present():
        base_spec.append({
            'name': 'cloudharness-kc-accounts',
            'mountPath': '/opt/cloudharness/resources/auth',
        })
    return base_spec