Giter VIP home page Giter VIP logo

Comments (25)

davecheney avatar davecheney commented on August 20, 2024 4

from contour.

terinjokes avatar terinjokes commented on August 20, 2024 3

I don't like leaving 👍 comments, for the obvious reason, but I'd love to have this feature. Assuming the ingress is used in such a way the client IP is preserved (eg, a GKE LB, nodeports) did you have in mind a place to slot this in? I don't mind opening a PR to add it.

from contour.

houz42 avatar houz42 commented on August 20, 2024 1

@jpeach I may describe my use case here if you are interested in.

I deployed several services like prometheus, grafana, alertmanager in our kubernetes cluster, and exposed them with contour ingress. Certainly they should not be available to public. The grafana was configured with an external OSS, while prometheus and alertmanger do not have any authn/ahthz functions. So I have waitted a long time for another feature request (external auth service #432). But actually I do not care about who in my group visited the prometheus. No body except my group can visit the prometheus is all I want. So "whitelist-source-range" annotaion or "networking filtering" is a better ans easier solution for me if any of them is available.

from contour.

davecheney avatar davecheney commented on August 20, 2024

Bumping this from 0.3, it's not directly related to SSL support

from contour.

davecheney avatar davecheney commented on August 20, 2024

Bumping this again to 0.4 because it's not directly related to TLS

from contour.

davecheney avatar davecheney commented on August 20, 2024

Bumping this again, sorry

from contour.

davecheney avatar davecheney commented on August 20, 2024

Bumping this again, sorry.

from contour.

jcrowthe avatar jcrowthe commented on August 20, 2024

May we get a timeline on when this feature will be made available?

from contour.

rosskukulinski avatar rosskukulinski commented on August 20, 2024

Hi @jcrowthe - we're in the middle of a pretty significant rework of Contour internals for 0.6. From an end-user perspective, the new IngressRoute CRD design will help unlock development of new features like this one.

We still need to prioritize which new features will also land in 0.6 and which will slip to a later release. Once I know more from a time-frame perspective, I'll get back to you

from contour.

rosskukulinski avatar rosskukulinski commented on August 20, 2024

From a dev perspective, I think the Envoy v2 RBAC API may support this feature: https://www.envoyproxy.io/docs/envoy/v1.7.0/api-v2/config/rbac/v2alpha/rbac.proto#envoy-api-msg-config-rbac-v2alpha-rbac

from contour.

stevesloka avatar stevesloka commented on August 20, 2024

The RBAC route looks like the proper implementation, but I think we need to upgrade to Envoy 1.7. Any reservations to do that @davecheney?

from contour.

davecheney avatar davecheney commented on August 20, 2024

from contour.

jcrowthe avatar jcrowthe commented on August 20, 2024

I see this has been pushed back multiple milestones. Would it be possible to reprioritize this issue?

from contour.

davecheney avatar davecheney commented on August 20, 2024

@rosskukulinski can you please comment

from contour.

rosskukulinski avatar rosskukulinski commented on August 20, 2024

Hi @jcrowthe. Thanks for the poke! This feature request is on my radar, but I'm currently prioritizing a few other more commonly requested features -- including some you've also asked for :).

from contour.

davecheney avatar davecheney commented on August 20, 2024

I know this is an important feature for people, but without a design doc or input from product I cannot commit to do it in the 0.11 milestone so removing the milestone.

from contour.

jpeach avatar jpeach commented on August 20, 2024

This annotation is specific to ingress-nginx, do we still want to support it?

from contour.

terinjokes avatar terinjokes commented on August 20, 2024

Other ingress controllers than nginx support this annotation. traefik supports (documented as traefik.ingress.kubernetes.io/whitelist-source-range, but believe it supports the short form as well). I believe the HAProxy controller also does.

from contour.

stevesloka avatar stevesloka commented on August 20, 2024

I think there's a second discussion around the annotations we need to add to support users running v1beta1/Ingress.

from contour.

michmike avatar michmike commented on August 20, 2024

Closing this ticket as there has not been a lot of requests for this feature and we can't prioritize it in the backlog. If a significant number of users ask for this, we can consider it again.
If you feel strongly on this ticket, please attend the Contour community meeting to discuss your scenario with our team.

from contour.

cten avatar cten commented on August 20, 2024

I understand why this was closed, and I like @davecheney 's suggestion above. Is there an issue I can track for "networking filtering"? I tried searching but came up empty handed.

from contour.

jpeach avatar jpeach commented on August 20, 2024

@cten Could you please file an issue describing your use case and the problem that network filtering would solve for you?

from contour.

ssa3512 avatar ssa3512 commented on August 20, 2024

Given this issue is closed and there doesn't appear to be any implementation, has it been decided that contour simply will not support an IP allowlist for ingress? This seems like a pretty core feature of a gateway service (the ability to allow/deny traffic based on source IP). We are looking to use contour for ingress in our kubernetes cluster but similar to the case laid out by @houz42 some of the services are internal only and should only be accessible from other services owned by other internal teams (which are not necessarily in kubernetes). IP whitelisting seems ideal for these.

from contour.

youngnick avatar youngnick commented on August 20, 2024

No, we have not ruled out doing some sort of IP allowlist (and blocklist), but we should open an issue to cover that. I'll do that now, then close this one out again and we can talk more there @houz42 and @ssa3512. Thanks for your feedback here, it's really appreciated.

from contour.

youngnick avatar youngnick commented on August 20, 2024

I've opened #3693 to cover the feature request, please head over there.

from contour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.