Bug 2079034
Summary: | [4.10] Openshift Container Platform - Ingress Controller does not set allowPrivilegeEscalation in the router deployment | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chad Scribner <cscribne> |
Component: | Networking | Assignee: | Chad Scribner <cscribne> |
Networking sub component: | router | QA Contact: | Shudi Li <shudili> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | high | CC: | amcdermo, aos-bugs, cscribne, ddharwar, hongli, mmasters, shudili, sreber, wking |
Version: | 4.9 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.z | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The default IngressController Deployment creates a container named "router" without requesting sufficient permissions in the `securityContext` of the container.
Consequence: Normally, this will not cause an issue but in cases where clusters have a Security Context Constraint (SCC) that's similar enough to the hostnetwork SCC could result in router pods failing to start.
Fix: Set `allowPrivilegeEscalation: true` in the `router` container's `securityContext` to ensure that it matches the default hostnetwork SCC.
Result: The router pods will be admitted to the correct SCC and be created without error.
|
Story Points: | --- |
Clone Of: | 2007246 | Environment: | |
Last Closed: | 2022-08-01 11:34:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2007246 | ||
Bug Blocks: |
Comment 3
Shudi Li
2022-06-06 04:12:04 UTC
It is verified with pre-merge process (see Comment#3) and the PR has been merged to 4.10.0-0.nightly-2022-07-25-110002, so move to Verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.25 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5730 |