Fix behaivour of aws-load-balancer-security-groups annotation#83446
Fix behaivour of aws-load-balancer-security-groups annotation#83446k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
Welcome @Elias481! |
|
Hi @Elias481. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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/test-infra repository. |
|
/assign @micahhausler |
|
/ok-to-test |
|
/test pull-kubernetes-e2e-gce-100-performance |
|
This actually addresses a quite heavy impact issue, as I understand it? It fixes the override of a loadbalancer's sg to allow incoming traffic from 0.0.0.0. Is there anything that can be done to help move this along from the outside? |
|
Ping? We are also affected by this issue. Who can approve this? /sig aws |
|
@rmt: The label(s) DetailsIn response to this:
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/test-infra repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Elias481, M00nF1sh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test pull-kubernetes-e2e-gce |
|
OK fine, I updated the description a bit. So hopefully we can get the fixed version soon in our live enviroment. |
|
We should update the release notes so that it can be added in next release. |
|
@bhagwat070919 shall I do another PR for that or how? I think it's just a short note that the behaviour that was probably expected/desired is now in place. |
|
@Elias481 @bhagwat070919 Hi guys, |
|
@ivan-sukhomlyn You are right, I forgot to mention and possibly worth to adding to description of PR und Release notes explicitly. This is of course also fixed in this turn. |
|
Thanks for clarifying and your work 👍 |
| var err error | ||
| var securityGroupID string | ||
| // We do not want to make changes to a Global defined SG | ||
| var setupSg = false |
@Elias481 you can just update this PR Release note and it would be taken when release note is being made. |
|
Do you mind creating Cherry-pick of this PR for k8s 1.17, 1.16, 1.15 and 1.14 ? |
|
@bhagwat070919 I can do so, I think I will find some time till monday morning.. |
|
@Elias481 @bhagwat070919 It would be nice to have this fix in other K8S versions. |
…e.md Annotation `service.beta.kubernetes.io/aws-load-balancer-security-groups` is missing from the list of annotations that can be applied to an ELB. This annotation was introduced in kubernetes/kubernetes#62774 and refactored kubernetes/kubernetes#83446 to allow users to specify a set of existing security groups to attach to the ELB instead of using any precreated security groups.
|
I think this issue needs to be re-opened, issue still exists with EKS v1.25, |
What type of PR is this?
/kind bug
What this PR does / why we need it:
The intention of users utilizing the specified by aws-load-balancer-security-groups annotation is typically, that they want to assign an externally managed security to the load balancer and do not want Kubernetes to modify the group.
(Also see summary/fixed issues)
Which issue(s) this PR fixes:
Ensures that Security Group specified by aws-load-balancer-security-groups is not modified on setup of Load Balancer anymore.
Fixes #79723, kubernetes/cloud-provider-aws/issues/65
Redesign implementation from PR #62774
Also addresses #49445, #79279
Special notes for your reviewer:
If changing return signature of buildELBSecurityGroupList is an issue I would suggest to rename the function and add a wrapper with the old name.
Release Note