-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.11, 4.10, 4.9.0, 4.8.0
-
None
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
- blocks
-
OCPBUGS-14265 Regression: OpenShift Console no-longer filters SecretList when displaying ServiceAccount
- Closed
- is cloned by
-
OCPBUGS-14265 Regression: OpenShift Console no-longer filters SecretList when displaying ServiceAccount
- Closed
- links to
-
RHEA-2023:5006 rpm