You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following Nginx config was written (unimportant parts removed):
## start server admin.acme.com
server {
server_name admin.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "acme-ui";
set $service_port "80";
set $location_path "/";
...
}
## end server admin.acme.com
## start server api.acme.com
server {
server_name api.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "acme-ui";
set $service_port "80";
set $location_path "/";
...
}
## end server api.acme.com
## start server keycloak.acme.com
server {
server_name keycloak.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "acme-ui";
set $service_port "80";
set $location_path "/";
...
}
## end server keycloak.acme.com
What you expected to happen:
No idea what went wrong, but I'm pretty certain the $service_name and $service_port variables shouldn't be the same across the three rules and should look like this:
## start server admin.acme.com
server {
server_name admin.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "acme-ui";
set $service_port "80";
set $location_path "/";
...
}
## end server admin.acme.com
## start server api.acme.com
server {
server_name api.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "acme-web-api";
set $service_port "3000";
set $location_path "/";
...
}
## end server api.acme.com
## start server keycloak.acme.com
server {
server_name keycloak.acme.com ;
...
location / {
set $namespace "default";
set $ingress_name "acme";
set $service_name "keycloak";
set $service_port "8080";
set $location_path "/";
...
}
## end server keycloak.acme.com
How to reproduce it:
Apologies, but I'm afraid I'm not sure how you would reproduce yet beyond seeing if a similar config results in similar output.
quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.32.0:
Kubernetes 1.18
Environment:
What happened:
Given the following Ingress resource:
The following Nginx config was written (unimportant parts removed):
What you expected to happen:
No idea what went wrong, but I'm pretty certain the
$service_name
and$service_port
variables shouldn't be the same across the three rules and should look like this:How to reproduce it:
Apologies, but I'm afraid I'm not sure how you would reproduce yet beyond seeing if a similar config results in similar output.
Install minikube/kind
Install the ingress controller
I'm running the controller using the following manifests:
/kind bug
The text was updated successfully, but these errors were encountered: