-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.19.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Critical
-
None
-
None
-
None
-
None
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
CSP violations caused by plugins are not being properly displayed in the console because the "hasCSPViolation" flag is not being set in the plugin store when a violation is detected. This was a regression introduced by https://github.com/openshift/console/pull/14486 during a rebase.
Version-Release number of selected component (if applicable):
4.19
How reproducible:
always
Steps to Reproduce:
1. Deploy a cluster with tech preview feature set enabled 2. Follow instructions in the console dynamic plugin demo to deploy it on the cluster, but modify the image in oc-manifest.yaml to use "quay.io/yapei/console-demo-plugin-csp:latest". 3. Visit the first Demo Plugin > Dynamic Nav 1 in the nav bar 4. Visit the overview page 5. Click the plugin status item on the overview page
Actual results:
No CSP violations are surfaced to the overview page
Expected results:
CSP violation status should be shown on the overview page
Additional info:
- blocks
-
OCPBUGS-50570 Plugin store "hasCSPViolation" is not being set
-
- Closed
-
- is cloned by
-
OCPBUGS-50570 Plugin store "hasCSPViolation" is not being set
-
- Closed
-
- is duplicated by
-
OCPBUGS-44590 CSP violations column doesn't show correct violation status
-
- Closed
-
- links to
-
RHEA-2024:11038 OpenShift Container Platform 4.19.z bug fix update