Description of problem: A new format {group, version, kind} can be used with k8s watch hooks but it does not work for core resources. How reproducible: always Steps to Reproduce: 1. update demo plugin to use new format https://github.com/openshift/console/blob/master/dynamic-demo-plugin/src/components/ListPage.tsx#L87 const [pods, loaded, loadError] = useK8sWatchResource<K8sResourceCommon[]>({ groupVersionKind: { version: 'v1', kind: 'Pod', }, isList: true, namespaced: true, }); 2. build the plugin and go to demo list page 3. pods are not loaded Actual results: pods are not loaded Expected results: pods are loaded Additional info:
*** Bug 2022124 has been marked as a duplicate of this bug. ***
1. with demo plugin list page codes as following https://github.com/openshift/console/blob/master/dynamic-demo-plugin/src/components/ListPage.tsx#L85~L93 const ListPage = () => { const [pods, loaded, loadError] = useK8sWatchResource<K8sResourceCommon[]>({ groupVersionKind: { version: 'v1', kind: 'Pod', }, isList: true, namespaced: true, }); 2. build dynamic demo plugin and enable the plugin 3. navigate to Demo Plugin -> List Page, pods list are loaded without error verified on 4.10.0-0.nightly-2021-12-18-034942
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.10.3 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:0056