Closed
Description
Currently nginx ingress controller requires providing both maxmind-license-key
and maxmind-edition-ids
in order for GeoIP databases to be enabled (using the default config template). According to the docs one should be able to just provide the database files (by mounting, or embedding into the image) to use it, however this is not the case currently.
Proposed solution
This could be solved by moving this call to GeoLite2DBExists
.
This should allow for providing only maxmind-edition-ids
and have the ingress controller load the necessary files if they are available.
/kind feature