Open iamalryz opened 2 weeks ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
What are the nginx.conf directives that get configured for this and in which contexts
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.