code: def deploy_image(self, image_name, oc_new_app_args=None, project=None, name=None):
          
          self.project = project or self.get_current_project()
  
          # app name is generated randomly
          name = name or 'app-{random_string}'.format(random_string=random_str(5))
  
          oc_new_app_args = oc_new_app_args or []
  
          new_image = self.import_image(image_name.split('/')[-1], image_name)
  
          c = self._oc_command(
              ["new-app"] + oc_new_app_args + [new_image] +
              ["-n"] + [project] + ["--name=%s" % name])
  
          logger.info("Creating new app in project %s", project)
  
          try:
              run_cmd(c)
          except subprocess.CalledProcessError as ex:
              raise ConuException("oc new-app failed: %s" % ex)
  
          return name
docs: Deploy image in OpenShift cluster using 'oc new-app'
          :param image_name: image name with tag
          :param oc_new_app_args: additional parameters for the `oc new-app`, env variables etc.
          :param project: project where app should be created, default: current project
          :param name:str, name of application, if None random name is generated
          :return: str, name of the app