Bug 1969951

Summary: Cluster local doesn't work for knative services created from dev console
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact: Harsh Mishra <hmishra>
Priority: high    
Version: 4.7CC: aos-bugs, cjerolim, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when the label changed for making a service cluster local on the Developer Console, users were not able to create a Knative service. This update to the Knative service uses the latest supported label for `cluster-local` in order to enable users to create a Knative service as cluster-local from Developer Console. (https://bugzilla.redhat.com/show_bug.cgi?id=1969951[*1969951*])
Story Points: ---
Clone Of:
: 1970796 (view as bug list) Environment:
Last Closed: 2021-07-27 23:12:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1970796    

Description Jaivardhan Kumar 2021-06-09 14:10:38 UTC
Description of problem: Cluster local doesn't work for knative services created from dev console


Version-Release number of selected component (if applicable): Serverless operator 1.15


How reproducible: always


Steps to Reproduce:
1. install serverless operator and create knative serving CR
2. create ksvc from any import flow and uncheck route

Actual results: created ksvc has label `serving.knative.dev/visibility`


Expected results:  created ksvc should have label `networking.knative.dev/visibility=cluster-local`


Additional info:
https://docs.openshift.com/container-platform/4.7/serverless/networking/serverless-ossm-custom-domains.html

Comment 3 Christoph Jerolimov 2021-06-11 18:10:44 UTC
Created a knative service without route and could verify the new label (networking.knative.dev/visibility: cluster-local).

Verified on 4.8.0-0.ci-2021-06-11-132716

Comment 6 errata-xmlrpc 2021-07-27 23:12:22 UTC
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.8.2 bug fix and 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.

https://access.redhat.com/errata/RHSA-2021:2438