Skip to content

Commit 999f313

Browse files
authored
Merge pull request #39091 from ritazh/pss-hostports
Update PSS - HostPorts should be disallowed
2 parents 48a5393 + fe12a40 commit 999f313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/concepts/security/pod-security-standards.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fail validation.
152152
<tr>
153153
<td style="white-space: nowrap">Host Ports</td>
154154
<td>
155-
<p>HostPorts should be disallowed, or at minimum restricted to a known list.</p>
155+
<p>HostPorts should be disallowed entirely (recommended) or restricted to a known list</p>
156156
<p><strong>Restricted Fields</strong></p>
157157
<ul>
158158
<li><code>spec.containers[*].ports[*].hostPort</code></li>
@@ -162,7 +162,7 @@ fail validation.
162162
<p><strong>Allowed Values</strong></p>
163163
<ul>
164164
<li>Undefined/nil</li>
165-
<li>Known list</li>
165+
<li>Known list (not supported by the built-in <a href="/docs/concepts/security/pod-security-admission/">Pod Security Admission controller</a>)</li>
166166
<li><code>0</code></li>
167167
</ul>
168168
</td>

0 commit comments

Comments
 (0)