Description of problem:
Currently Developer Console is using Kubernetes labels "boson.dev/function: true" to determine whether or not the deployed Knative Service is a Function.
We would like to change this label to: "function.knative.dev: true".
The best approach would be to support both type of labels (boson.dev and knative.dev) for some period of time.
Version-Release number of selected component (if applicable):
4.10, 4.9, 4.8
Steps to Reproduce:
1. Log in to Developer Console on OpenShift with OpenShift Serverless installed.
2. Deploy a function, as per: https://docs.openshift.com/container-platform/4.9/serverless/functions/serverless-functions-getting-started.html
3. The deployed Knative Service is being marked as a function, based on "boson.dev" labels.
"function.knative.dev" labels don't mark the Knative Service as a Function.
Both "boson.dev/function: true" and "function.knative.dev: true" mark the Knative Service as a Function.
Verified on 4.10.0-0.ci-2022-01-04-012641
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 (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.