kubernetes-ingress icon indicating copy to clipboard operation
kubernetes-ingress copied to clipboard

Annotations for matching host as prefix

Open jcpetruzza opened this issue 6 years ago • 2 comments

In many settings it is useful to match on hosts as foo.*. This is not a valid a host specification and such an Ingress gets rejected by kubernetes. It would be nice to have an annotation that will treat host: foo as foo.*.

For a discussion and more motivation, see https://github.com/kubernetes/kubernetes/issues/41881

jcpetruzza avatar Sep 27 '19 14:09 jcpetruzza

Pressed "submit" too soon... :man_facepalming:

jcpetruzza avatar Sep 27 '19 14:09 jcpetruzza

There are few request about handling host header so this will be also added to same group. Since we have service annotations and HAProxy can do it with ACL we can probably add it.

oktalz avatar Sep 27 '19 15:09 oktalz