NGINX Ingress Controller Generates Incorrect Configuration for Kind Ingress Objects with Custom Ports #6935
Closed
medicharlachiranjeevi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description: NGINX Ingress Controller Generates Incorrect Configuration for Kind Ingress Objects with Custom Ports
Summary:
The NGINX Ingress Controller incorrectly generates NGINX configurations when creating new
Ingress
objects of kindIngress
. Despite being configured to use custom ports (9090 for HTTP and 9443 for HTTPS) and running as a non-root user (UID: 101), the controller still attempts to create configurations for default ports 80 and 443, causing permission-related failures.Steps to Reproduce:
Ingress
object of kindIngress
in the cluster.Expected Behavior:
The NGINX Ingress Controller should generate configurations only for the custom ports (9090 and 9443) and properly handle new
Ingress
objects without referring to root-restricted ports.Actual Behavior:
When a new
Ingress
object is created, the controller generates configurations targeting the default ports 80 and 443, leading to permission failures as the non-root user (UID: 101) cannot bind to these ports.Impact:
Environment Details:
Logs/Error Messages:
Permission denied
when attempting to bind to ports 80 and 443.Beta Was this translation helpful? Give feedback.
All reactions