Skip to content

Feature: Allow using mounted MaxMind GeoIP databases  #6012

Closed
@mihau

Description

@mihau

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions