-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.13.0
-
No
-
Rejected
-
False
-
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):
- Serverless 1.28 installed
- Pipelines Operator (latest) installed
- kn tekton tasks deployed - https://docs.openshift.com/container-platform/4.12/serverless/functions/serverless-functions-on-cluster-builds.html#serverless-functions-creating-on-cluster-builds_serverless-functions-on-cluster-builds
- Cluster wasn't used to build the func from command-line, so the builder imagestreams are not created.
Steps to Reproduce
- generate a func: kn func create kn-fn-import
- Push repo to Git server
- 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
- is caused by
-
ODC-7210 Create Serverless function using the Import from the Git with Builder Images
- Closed