fix: discover mounted geoip db files (#7228)

* fix: discover mounted geoip db files

* add test

* fix runtime reload of config.MaxmindEditionFiles

* add e2e test

* log missing geoip2 db
This commit is contained in:
Tom Hayward 2021-07-08 17:16:53 -07:00 committed by Kubernetes Prow Robot
parent 45995525e7
commit c9d5b21a65
6 changed files with 127 additions and 10 deletions

View file

@ -105,7 +105,7 @@ type Configuration struct {
ValidationWebhookKeyPath string
GlobalExternalAuth *ngx_config.GlobalExternalAuth
MaxmindEditionFiles []string
MaxmindEditionFiles *[]string
MonitorMaxBatchSize int