Description of problem:
Deploy Image- For knative service, ports are not prefetched based on selected image i.e for image `tensorflow/tensorflow:latest-jupyter` run on `8888` and not `8080` so revision will fail if user doesn't provide port `8888` explicitly.
Version-Release number of selected component (if applicable):4.4
How reproducible: Always
Steps to Reproduce:
1. Install Serverless operator
2. Dev Console -> Add -> Container image
3. provide image `tensorflow/tensorflow:latest-jupyter`
4. Check ports under Route in Advance section,
4. Create as kn svc
Actual results: Routes in advance options doesn't have pre-fetched Port and revisions won't come up in case of creation of service
Expected results: Routes in advance options should have pre-fetched Port and revisions should come up in case of creation of service
Verified the changes on the following build and it works as expected.
Build number : 4.5.0-0.ci-2020-03-03-204641
Cluster Url : https://console-openshift-console.apps.jhadvig-shared-73.devcluster.openshift.com/topology/ns/karthik/graph
Browsers : chrome (Version 79.0.3945.88), firefox (66.0.2)
Verified as : kubeadmin
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.