'return a configmap by name'

def get(self):

    results = self._get('configmap', self.name)
    if ((results['returncode'] == 0) and results['results'][0]):
        self.configmap = results['results'][0]
    if ((results['returncode'] != 0) and ('"{}"    not    found'.format(self.name) in results['stderr'])):
        results['returncode'] = 0
    return results
