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 GitHub
parent b0ae678ce6
commit abf22b2014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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