-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for configurable securityContext (#1063)
Problem: In at least one environment it has been found that the control plane does not have permissions to reload nginx, requiring allowPrivilegeEscalation to be true. Solution: Keep the same default, but allow this field to be configurable. Added a troubleshooting guide for this issue.
- Loading branch information
Showing
5 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Troubleshooting | ||
|
||
This document contains common or known issues and how to troubleshoot them. | ||
|
||
## failed to reload NGINX: failed to send the HUP signal to NGINX main: operation not permitted | ||
|
||
Depending on your environment's configuration, the control plane may not have the proper permissions to reload | ||
NGINX. If NGINX configuration is not applied and you see the above error in the `nginx-gateway` logs, you will need | ||
to set `allowPrivilegeEscalation` to `true`. If using Helm, you can set the | ||
`nginxGateway.securityContext.allowPrivilegeEscalation` value. | ||
If using the manifests directly, you can update this field under the `nginx-gateway` container's `securityContext`. |