Open
Description
This is a Bug Report
Problem:
The Host Ports baseline Pod Security Standard lists 0
as one of the allowed values, but the Container spec excludes the value 0
. According to the container spec, the hostPort must be in the range 0 < x < 65536.
- ports.hostPort (int32)
Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536.
Proposed Solution:
In the Host Ports baseline policy spec, either remove 0
from the allowed list, or add an explanation as to why 0
should be allowed even though it is not in the valid range.
Page to Update:
https://kubernetes.io/docs/concepts/security/pod-security-standards
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog