Skip to content

Add InboundCIDRs field to IngressClassParams #3089

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

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

johngmyers
Copy link
Contributor

Issue

#2920

Description

Adds an inboundCIDRs field to IngressClassParams, to allow overriding the alb.ingress.kubernetes.io/inbound-cidrs annotation for all Ingresses in an IngressClass.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the docs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 5, 2023
@k8s-ci-robot k8s-ci-robot requested review from kishorj and M00nF1sh March 5, 2023 05:20
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2023

Codecov Report

Patch coverage: 90.62% and project coverage change: +0.23 🎉

Comparison is base (1392585) 54.40% compared to head (956237b) 54.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3089      +/-   ##
==========================================
+ Coverage   54.40%   54.64%   +0.23%     
==========================================
  Files         145      145              
  Lines        8429     8458      +29     
==========================================
+ Hits         4586     4622      +36     
+ Misses       3512     3502      -10     
- Partials      331      334       +3     
Impacted Files Coverage Δ
pkg/ingress/model_build_listener.go 51.53% <70.00%> (+2.75%) ⬆️
webhooks/elbv2/ingressclassparams_validator.go 93.22% <100.00%> (+4.03%) ⬆️
pkg/ingress/model_builder.go 69.26% <0.00%> (+3.41%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kishorj kishorj added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Mar 10, 2023
@kishorj
Copy link
Collaborator

kishorj commented Mar 11, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 11, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johngmyers, kishorj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2023
@k8s-ci-robot k8s-ci-robot merged commit 238416e into kubernetes-sigs:main Mar 11, 2023
@johngmyers johngmyers deleted the inbound-cidrs branch July 8, 2023 22:21
johngmyers added a commit to johngmyers/aws-load-balancer-controller that referenced this pull request Aug 21, 2023
johngmyers added a commit to johngmyers/aws-load-balancer-controller that referenced this pull request Aug 21, 2023
Merge in DEL/aws-load-balancer-controller-fork from update-from-upstream to main

* commit '9bbcc80fd4e701018636af4147b27d69e4f128d3':
  update ko to v0.13.0 (kubernetes-sigs#3115)
  update module dependencies (kubernetes-sigs#3114)
  added validation for dummy ports introduced in the aws-load-balancer-ssl-ports annotation (kubernetes-sigs#3067)
  docs: add a new page about security groups management (kubernetes-sigs#2988)
  Add InboundCIDRs field to IngressClassParams (kubernetes-sigs#3089)
  Add SSLPolicy field to IngressClassParams (kubernetes-sigs#3025)
  enable EndpointsFailOpen by default (kubernetes-sigs#3078)
Timothy-Dougherty pushed a commit to adammw/aws-load-balancer-controller that referenced this pull request Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants