Bug 2084438 - Change Ping source spec.jsonData (deprecated) field to spec.data
Summary: Change Ping source spec.jsonData (deprecated) field to spec.data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Vikram Raj
QA Contact: Jaivardhan Kumar
URL:
Whiteboard:
Depends On:
Blocks: 2094211
TreeView+ depends on / blocked
 
Reported: 2022-05-12 07:03 UTC by Karthik Jeeyar
Modified: 2022-08-10 11:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Deprecated Functionality
Doc Text:
For the Ping source, `jsonData` property has been deprecated and replaced with `data`.
Clone Of:
: 2094211 (view as bug list)
Environment:
Last Closed: 2022-08-10 11:11:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Ping source yaml view (86.75 KB, image/png)
2022-05-12 07:03 UTC, Karthik Jeeyar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11548 0 None open Bug 2084438: Change Ping source spec.jsonData (deprecated) field to spec.data 2022-05-23 15:03:59 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:11:42 UTC

Description Karthik Jeeyar 2022-05-12 07:03:01 UTC
Created attachment 1878859 [details]
Ping source yaml view

Description of problem:

Creating Ping source, with data field is internally mapping it to spec.jsonData field, which is deprecated and on submission the key is removed automatically by the controllers.


Version-Release number of selected component (if applicable):
4.10

How reproducible:
Always

Steps to Reproduce:
1. Go to EventSource -> Ping Source form
2. Add a value to the data field in the form view
3. Switch to yaml view to see the jsonData field
4. Click on create button.

Actual results:

spec.jsonData field will be removed automatically from the newly created ping source object.

Expected results:

After changing the spec.jsonData to spec.data then on creation of a ping source should contain the spec.data field.



Additional info:

Ping source API spec: https://knative.dev/docs/eventing/sources/ping-source/reference/#pingsource

Comment 4 Jaivardhan Kumar 2022-06-09 10:45:18 UTC
Verified on 4.11.0-0.nightly-2022-06-06-201913, works as expected

Comment 6 errata-xmlrpc 2022-08-10 11:11:30 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069


Note You need to log in before you can comment on or make changes to this bug.