Skip to content

Middleware for IP Whitelisting? #13663

Answered by ReToCode
mattylight22 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mattnick89

Kourier is using envoy to route requests. Your example is using golang http.Handlers, so this would not work. You'd need to modify kourier to configure envoy to use the RBAC feature of envoy. You'd need to dig quite deep in the kourier implementation and rebuild the image yourself. Maybe you could also explore other options, like limiting traffic before it hits kourier (maybe something outside of your cluster)?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mattylight22
Comment options

Answer selected by mattylight22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants