pomerium / ingress-controller

Pomerium Kubernetes Ingress Controller
https://pomerium.com
Apache License 2.0
22 stars 11 forks source link

Support for empty host in ingress rules (#941) #945

Closed kralicky closed 4 months ago

kralicky commented 4 months ago

Summary

This adds support for empty host values in ingress rules, which act as wildcards and will match any hostname (or IP address).

There are many cases where an ingress configured this way can cause destructive or unintended behavior. Because it is very easy to (perhaps mistakenly) omit the host field in an ingress rule, the special annotation ingress.pomerium.io/subtle_allow_empty_host: "true" must be added to any ingress object containing rules with empty host fields.

Related issues

Closes #941

Checklist