+++ This bug was initially created as a clone of Bug #2034170 +++
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.9.0-0.nightly-2022-01-24-193011
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 (OpenShift Container Platform 4.9.18 bug fix 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.