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
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
NGINX Ingress controller version:
Kubernetes version (use kubectl version):
1.8.3
Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:
What happened:
Now I can define an Ingress resource as following:
For the host field, I can define any value as the host field. But in real customer environment, they may have a specified domain name such as *.foo.bar.com, and they only want to create ingress resources in the format of *.foo.bar.com and reject all ingress create request which is not in *.foo.bar.com format. Or they have limited domain names as a.foo.bar.com, b.foo.bar.com and want the ingress host must be either a.foo.bar.com or b.foo.bar.com.
But now, the ingress do not have such checking and the end user can actually define any host names, and this may cause sometimes the ingress does not work if the end user configured a wrong host name.
Is it possible to add some domain name checking in ingress or any proposal for how to resolve such issue?
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered:
@gyliu513 I am closing this because there is nothing we can do in this repository. The change of the ingress spec must be done in the main kubernetes repository
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
NGINX Ingress controller version:
Kubernetes version (use
kubectl version
):1.8.3
Environment:
uname -a
):What happened:
Now I can define an
Ingress
resource as following:For the
host
field, I can define any value as thehost
field. But in real customer environment, they may have a specified domain name such as*.foo.bar.com
, and they only want to create ingress resources in the format of*.foo.bar.com
and reject all ingress create request which is not in*.foo.bar.com
format. Or they have limited domain names asa.foo.bar.com
,b.foo.bar.com
and want the ingresshost
must be eithera.foo.bar.com
orb.foo.bar.com
.But now, the ingress do not have such checking and the end user can actually define any
host
names, and this may cause sometimes the ingress does not work if the end user configured a wronghost
name.Is it possible to add some domain name checking in ingress or any proposal for how to resolve such issue?
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: