-
Epic
-
Resolution: Done
-
Critical
-
None
-
Upstream Beta: SELinux relabeling using mount options (TP)
-
Upstream
-
3
-
False
-
None
-
False
-
Green
-
To Do
-
OCPSTRAT-120 - Implement RWOP SELinux context mounts (TechPreview)
-
OCPSTRAT-120Implement RWOP SELinux context mounts (TechPreview)
-
0% To Do, 0% In Progress, 100% Done
Epic Goal
Support upstream feature "SELinux relabeling using mount options (CSIDriver API change)"" in OCP as Beta, i.e. test it and have docs for it (unless it's Alpha upstream).
Summary: If Pod has defined SELinux context (e.g. it uses "resticted" SCC) and it uses ReadWriteOncePod PVC and CSI driver responsible for the volume supports this feature, kubelet + the CSI driver will mount the volume directly with the correct SELinux labels. Therefore CRI-O does not need to recursive relabel the volume and pod startup can be significantly faster. We will need a thorough documentation for this.
This upstream epic actually will be implemented by us!
Why is this important?
- We get this upstream feature through Kubernetes rebase. We should ensure it works well in OCP and we have docs for it.
Upstream links
- Enhancement issue: [1710]
- KEP: https://github.com/kubernetes/enhancements/pull/3172
Acceptance Criteria
- CI - MUST be running successfully with tests automated
- Release Technical Enablement - Provide necessary release enablement details and documents.
- ...
Dependencies (internal and external)
- External: the feature is currently scheduled for Beta in Kubernetes 1.27, i.e. OCP 4.14, but it may change before Kubernetes 1.27 GA.
Done Checklist
- CI - CI is running, tests are automated and merged.
- Release Enablement <link to Feature Enablement Presentation>
- DEV - Upstream code and tests merged: <link to meaningful PR or GitHub Issue>
- DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
- DEV - Downstream build attached to advisory: <link to errata>
- QE - Test plans in Polarion: <link or reference to Polarion>
- QE - Automated tests merged: <link or reference to automated tests>
- DOC - Downstream documentation merged: <link to meaningful PR>
- depends on
-
STOR-1179 Upstream Beta: Robust VolumeManager reconstruction (TechPreview)
- Closed
- is cloned by
-
STOR-1798 SELinux context mount for RWOP (Full Support)
- Closed
- relates to
-
RFE-4261 Require automated SELinux annotation relabeling workaround included in OCP 4.13
- Rejected
-
OCPBUGS-32705 Efficient SELinux volume relabeling for ReadWriteOncePod in OpenShift Container Platform 4.15
- Closed
- links to