Bug 1892653

Summary: User is unable to create KafkaSource with v1beta
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact: Harsh Mishra <hmishra>
Priority: medium    
Version: 4.6CC: aos-bugs, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The console used a prior version of the `KafkaSource` object that used the `resources` and `service account` fields in their specification. The latest v1beta1 version of the `KafkaSource` object removed these fields, due to which the user was unable to create the `KafkaSource` object with the v1beta1 version. This issue has been fixed now and the user is able to create the `KafkaSource` object with the v1beta1 version.
Story Points: ---
Clone Of:
: 1892695 (view as bug list) Environment:
Last Closed: 2021-02-24 15:29:18 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: 1892695    

Description Jaivardhan Kumar 2020-10-29 12:02:34 UTC
Description of problem: User is unable to create KafkaSource with `v1beta` as resources / ServiceAccountName is spec is deprecated

https://github.com/knative/eventing-contrib/blob/master/kafka/source/pkg/apis/sources/v1alpha1/kafka_types.go#L89-L90
https://github.com/knative/eventing-contrib/blob/master/kafka/source/pkg/apis/sources/v1beta1/kafka_types.go

Prerequisites (if any, like setup, operators/versions):
Install Serverless operator, create CR for KnativeServing, KnativeEventing
Install knativa Kafka Operator, Install KEK CR in ns `knative-Eventing`

Steps to Reproduce
1. Created a ns
2. go to add - EventSources
3. Select KafkaSource
4. fill form data and click create


Actual results: Fails to create a kafkaSource with below error

Expected results: Should create a KafkaSource

Comment 1 Debsmita Santra 2020-10-29 12:10:33 UTC
verified on build 4.7.0-0.nightly-2020-10-27-051128

Comment 4 errata-xmlrpc 2021-02-24 15:29:18 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.7.0 security, bug fix, and enhancement 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-2020:5633