Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14658

Unsupported runtime detected while trying to import a valid func project

XMLWordPrintable

    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      While trying to import from Git a valid func project, the console shows an error:

      Import is not possible.
      
      Unsupported Runtime detected. Please update the Repository URL or change the Build Strategy to continue.
      

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. generate a func: kn func create kn-fn-import
      2. Push repo to Git server
      3. Try to import the project

      Actual results:

      Import of a knative func should be possible

      Expected results:

      The console shows a Import is not possible error. See the screenshot.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Additional context

      I think this condition doesn't make sense: https://github.com/openshift/console/blob/1ce4fad05f8816a03aabb4a79e0e661c7fbd2f68/frontend/packages/dev-console/src/components/import/serverlessfunc/FuncSection.tsx#L35-L47

              jakumar jaivardhan Kumar
              krzysztofsuszynski Chris Suszynski
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: