'Create a configmap
:dryrun: Product what you would have done. default: False
:output: Whether to parse output. default: False'

def create(self, dryrun=False, output=False):

    cmd = ['create', 'configmap', self.name]
    if (self.from_literal is not None):
        cmd.extend(self.from_literal_to_params())
    if (self.from_file is not None):
        cmd.extend(self.from_file_to_params())
    if dryrun:
        cmd.extend(['--dry-run', '-ojson'])
    results = self.openshift_cmd(cmd, output=output)
    return results
