Description of problem: when all projects are selected, workloads list page and details page shows inconsistent PDB actions Version-Release number of selected component (if applicable): 4.12.0-0.nightly-2022-07-25-010250 How reproducible: Always Steps to Reproduce: 1. cluster admin goes to All projects deployments list page, click the kebab button of deployment/api-server in openshift-apiserver namespace 2. goes to deployment details page /k8s/ns/openshift-apiserver/deployments/apiserver, click 'Actions' and check PDB related action items 3. goes to project deployment list page /k8s/ns/openshift-apiserver/deployments, check the action items Actual results: 1. the PDB action is 'Add PodDisruptionBudget' 2. the PDB actions are 'Edit PodDisruptionBudget' and 'Remove PodDisruptionBudget' 3. the PDB actions are 'Edit PodDisruptionBudget' and 'Remove PodDisruptionBudget' Expected results: 1. workloads list and details page should have consistent PDB action items when 'All projects' are selected Additional info:
- When workloads has no HPA defined, select 'All Projects' in project dropdown, workloads list kebab action item and workloads detail page Action item has consistent menu 'Remove HorizontalPodAutoscaler' - When workloads has HPA added, select 'All Projects' in project dropdown, workloads list kebab action item and workloads detail page Action item has consistent menu 'Add HorizontalPodAutoscaler' 'Edit HorizontalPodAutoscaler'{} verified on 4.12.0-0.nightly-2022-10-25-210451
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.12.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:7399