Skip to content

Unable to bind to privileged ports #3567

Closed
@sjberman

Description

@sjberman

Describe the bug
When running in some environments, nginx can't bind to privileged ports (<1024). Normally you could set allowPrivilegeEscalation to workaround this, but this is not secure and also isn't possible currently with the new 2.0 architecture.

Expected behavior
nginx should be able to bind to privileged ports

Your environment

  • Version of the NGINX Gateway Fabric -2.0.1

Additional context
Using sysctls in the SecurityContext should be able to get us the expected result without increasing privileges. See nginx/kubernetes-ingress#3573 as an example.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions