-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.11, 4.10, 4.9.0, 4.8.0
-
None
-
No
-
False
-
This is a clone of issue OCPBUGS-6767. The following is the description of the original issue:
—
Description of problem:
OpenShift Console does not filter the SecretList when displaying the ServiceAccount details page When reviewing the details page of an OpenShift ServiceAccount, at the bottom of the page there is a SecretsList which is intended to display all of the relevant Secrets that are attached to the ServiceAccount. In OpenShift 4.8.X, this SecretList only displayed the relevant Secrets. In OpenShift 4.9+ the SecretList now displays all Secrets within the entire Namespace.
Version-Release number of selected component (if applicable):
4.8.57 < Most recent release without issue 4.9.0 < First release with issue 4.10.46 < Issue is still present
How reproducible:
Everytime
Steps to Reproduce:
1. Deploy a cluster with OpenShift 4.8.57 (or replace the OpenShift Console image with `sha256:9dd115a91a4261311c44489011decda81584e1d32982533bf69acf3f53e17540` ) 2. Access the ServiceAccounts Page ( User Management -> ServiceAccounts) 3. Click a ServiceAccount to display the Details page 4. Scroll down and review the Secrets section 5. Repeat steps with an OpenShift 4.9 release (or check using image `sha256:fc07081f337a51f1ab957205e096f68e1ceb6a5b57536ea6fc7fbcea0aaaece0` )
Actual results:
All Secrets in the Namespace are displayed
Expected results:
Only Secrets associated with the ServiceAccount are displayed
Additional info:
Lightly reviewing the code, the following links might be a good start: - https://github.com/openshift/console/blob/master/frontend/public/components/secret.jsx#L126 - https://github.com/openshift/console/blob/master/frontend/public/components/service-account.jsx#L151:L151
- clones
-
OCPBUGS-6767 Regression: OpenShift Console no-longer filters SecretList when displaying ServiceAccount
- Closed
- is blocked by
-
OCPBUGS-6767 Regression: OpenShift Console no-longer filters SecretList when displaying ServiceAccount
- Closed
- is depended on by
-
OCPBUGS-13580 OCPBUGS-13580: [release4.12]-Regression: OpenShift Console no-longer filters SecretList when displaying ServiceAccount
- Closed
- links to
-
RHSA-2023:4456 OpenShift Container Platform 4.13.z security update