OCPBUGS-105478: [release-4.22] OCPBUGS-83799: Fix Workloads sidebar ordering when DeploymentConfig is unavailable - #16928
Conversation
…s unavailable StatefulSets used insertAfter: "deploymentconfigs" only, which breaks the nav chain on vanilla Kubernetes / when DeploymentConfigs are disabled and pushes Topology, Pods, and Deployments to the bottom of Workloads. Add "deployments" as a fallback insertAfter target (backport of openshift#16351). Also covers openshift#16642. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@kchawlani19: This pull request references Jira Issue OCPBUGS-83799, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kchawlani19 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/jira cherrypick OCPBUGS-83799 |
|
@kchawlani19: Jira Issue OCPBUGS-83799 has been cloned as Jira Issue OCPBUGS-105478. Will retitle bug to link to clone. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kchawlani19: This pull request references Jira Issue OCPBUGS-105478, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kchawlani19: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
OCPBUGS-83799) torelease-4.22statefulsetsusedinsertAfter: "deploymentconfigs"only; when that target is filtered out the insertAfter chain breaksinsertAfter: ["deploymentconfigs", "deployments"]so ordering falls back to DeploymentsTest plan
nav/__tests__/utils.spec.tscover the workloads insertAfter fallback scenario