Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate and remove geo_ip2 feature #11669

Open
rikatz opened this issue Jul 21, 2024 · 7 comments
Open

Deprecate and remove geo_ip2 feature #11669

rikatz opened this issue Jul 21, 2024 · 7 comments
Labels
kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@rikatz
Copy link
Contributor

rikatz commented Jul 21, 2024

GeoIP feature is used to control access to the environment per location/region. While this is a useful feature, we understand that this control should not be made on ingress-nginx.

Additionally, it is not an open feature that can be consumed by anyone and instead needs a license and a third party module.

So the proposal is to remove and deprecate this feature

@rikatz rikatz added the kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. label Jul 21, 2024
@k8s-ci-robot
Copy link
Contributor

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.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority labels Jul 21, 2024
@longwuyuan
Copy link
Contributor

Are the whitelist annotation https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#whitelist-source-range and the denylist annotation https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#denylist-source-range related .

Some issues in github seemed to hint at users using geoip2 to ascertain SRC ip (or I could be confused so just commenting)

Copy link

This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #ingress-nginx-dev on Kubernetes Slack.

@github-actions github-actions bot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Aug 21, 2024
@strongjz strongjz pinned this issue Aug 29, 2024
@xdays
Copy link

xdays commented Oct 18, 2024

Our company uses this feature to enrich each request with location headers so that all services don't need to do geo lookups themselves.

    location-snippet: |
      proxy_set_header x-fw-region-code $geoip2_region_code;
      proxy_set_header x-fw-region $geoip2_region_name;
      proxy_set_header x-fw-country-code $geoip2_city_country_code;
      proxy_set_header x-fw-country-name $geoip2_city_country_name;

@longwuyuan
Copy link
Contributor

longwuyuan commented Oct 18, 2024 via email

@rikatz
Copy link
Contributor Author

rikatz commented Oct 18, 2024

I want to rethink snippets on a different way.

While I think no user should be able to set it, I understand admins may want to set on all servers some config so maybe allowing just admin snippets that willbe "included" as files is still under future consideration

@troll-os
Copy link

Out of curiosity, do you have en estimated date / version for depreciation of this feature ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Development

No branches or pull requests

5 participants