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

Support client IP filtering through loadBalancerSourceRanges in case istioingress #835

Merged
merged 6 commits into from Jul 15, 2022

Conversation

stoader
Copy link
Member

@stoader stoader commented Jul 15, 2022

Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
License Apache 2.0

What's in this PR?

Support client IP filtering through LoadBalancer by allowing users to specify the loadBalancerSourceRanges field for the corresponding Kubernetes service when Kafka external listeners use istioingress as ingress controller.

Why?

koperator doesn't support client IP filtering for Kafka external listeners when those are exposed through istioingress ingress controller. Currently this is only supported when envoy is used and ingress controller.

Additional context

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)

@stoader stoader requested a review from a team as a code owner July 15, 2022 08:30
pregnor
pregnor previously approved these changes Jul 15, 2022
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a suggestion on phrasing

api/v1beta1/kafkacluster_types.go Outdated Show resolved Hide resolved
api/v1beta1/kafkacluster_types.go Outdated Show resolved Hide resolved
Co-authored-by: Patrik Egyed <8093632+pregnor@users.noreply.github.com>
Co-authored-by: Patrik Egyed <8093632+pregnor@users.noreply.github.com>
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should sync the CRDs and samples with the new type description through manifest generation.
(Due to the comment change.)

pregnor
pregnor previously approved these changes Jul 15, 2022
Copy link
Member

@panyuenlau panyuenlau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding this!

@stoader stoader merged commit f9bc00d into master Jul 15, 2022
@stoader stoader deleted the cidr_filtering branch July 15, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants