Bug 2076614 - Missing Events component from the SDK API
Summary: Missing Events component from the SDK API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: Yadan Pei
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-19 13:49 UTC by Gilad Lekner
Modified: 2022-08-10 11:08 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:07:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
events (451.05 KB, image/png)
2022-04-26 02:44 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11274 0 None open Bug 2076614: Expose ResourceEventStream Component as part of the Core SDK 2022-04-19 13:51:15 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:08:02 UTC

Description Gilad Lekner 2022-04-19 13:49:49 UTC
Description of problem:
Missing Events component from the SDK API

Comment 3 Yadan Pei 2022-04-26 02:44:28 UTC
Created attachment 1874988 [details]
events

1. build latest dynamic plugin image with the changes in fix PR  
2. deploy console-demo-plugin and enable
 ~/go/src/github.com/openshift/console/ [master] oc apply -f dynamic-demo-plugin/oc-manifest.yaml 
namespace/console-demo-plugin created
W0426 10:02:33.849754   74923 warnings.go:70] would violate PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "console-demo-plugin" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "console-demo-plugin" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "console-demo-plugin" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "console-demo-plugin" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
deployment.apps/console-demo-plugin created
service/console-demo-plugin created
consoleplugin.console.openshift.io/console-demo-plugin created
 ~/go/src/github.com/openshift/console/ [master] oc patch console.operator cluster --type='json'  -p='[{"op": "add", "path": "/spec/plugins", "value": ["console-demo-plugin"]}]'
console.operator.openshift.io/cluster patched 
3. browse /test-events and we can see deployment/apiserver events on the page

verified on 4.11.0-0.nightly-2022-04-25-171513

Comment 6 errata-xmlrpc 2022-08-10 11:07:40 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.