-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17
-
None
-
Moderate
-
None
-
False
-
Description of problem:
when normal user tries to create namespace scoped network policy, selected project in project selection dropdown was not taken
Version-Release number of selected component (if applicable):
4.17.0-0.nightly-2024-07-17-183402
How reproducible:
Always
Steps to Reproduce:
1. normal user with a project view networkpolicy page /k8s/ns/yapei1-1/networkpolicies/~new/form 2. Hit on 'affected pods' in Pod selector section OR keep everything with default value and click on 'Create'
Actual results:
2. User will see following error when click on 'affected pods' Can't preview pods r: pods is forbidden: User "yapei1" cannot list resource "pods" in API group "" at the cluster scope User will see following error when click on 'Create' button An error occurrednetworkpolicies.networking.k8s.io is forbidden: User "yapei1" cannot create resource "networkpolicies" in API group "networking.k8s.io" at the cluster scope
Expected results:
2. switching to 'YAML view' we can see that the selected project name was not auto populated in YAML
Additional info:
- blocks
-
OCPBUGS-41342 selected project is not automatically persisted when creating namespaced network policy
- ASSIGNED
- is cloned by
-
OCPBUGS-41342 selected project is not automatically persisted when creating namespaced network policy
- ASSIGNED
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update