Bug 2134308 - Add labels for pod security in the e2e test namespaces
Summary: Add labels for pod security in the e2e test namespaces
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: lvm-operator
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.12.0
Assignee: N Balachandran
QA Contact: Aviad Polak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-13 06:46 UTC by N Balachandran
Modified: 2023-08-09 16:46 UTC (History)
7 users (show)

Fixed In Version: 4.12.0-79
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-08 14:06:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage lvm-operator pull 280 0 None open Bug 2134308: [release-4.12] fix: add test ns labels for PSA 2022-10-14 06:31:53 UTC

Description N Balachandran 2022-10-13 06:46:02 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Pod Security Admission is enabled in OCP 4.12. As the default value prevents the operator and test pods from coming up in the namespaces, we need to set the "pod-security.kubernetes.io/enforce" label to "privileged".

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. 
2.
3.


Actual results:


Expected results:


Additional info:
The changes are limited to the e2e code and will not impact QE.


Note You need to log in before you can comment on or make changes to this bug.