Merging nnginx.ingress.kubernetes.io/whitelist-source-range annotation with global config #12332
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
According to documentation, at the moment annotation
nginx.ingress.kubernetes.io/whitelist-source-range
totally overrides corresponding option from ConfigMap.In my use case I want to configure trusted networks globally for all Ingress objects (by
whitelist-source-range
option at ConfigMap), and add another trusted IPs/networks for particular Ingress objects.If I use annotation
nginx.ingress.kubernetes.io/whitelist-source-range
on particular Ingress object, I loose access to its from trusted networks configured globally.It would be nice to have a toggle to enable merging
nnginx.ingress.kubernetes.io/whitelist-source-range
annotation withwhitelist-source-range
option from ConfigMap.Like this:
With default value of
override
.I couldn't find another issues about this feature.
The text was updated successfully, but these errors were encountered: