kubernetes-sigs/aws-load-balancer-controller

Allow specifying prefix lists by names

オープン

#4,077 opened on 2025/03/05

 (8 件のコメント) (1 件のリアクション) (1 人の担当者)Go (1,644 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (4,317 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the feature you are requesting

Ability to specify prefix lists by names rather than IDs.

Motivation

aws-load-balancer-security-group-prefix-lists service annotation expects you to provide prefix list IDs. This is rather inconvenient and makes us do custom-script preprocessing to convert prefix list names into IDs first. It would be much simpler if we can specify prefix list names directly.

Describe the proposed solution you'd like

New service annotation (e.g. aws-load-balancer-security-group-prefix-list-names) that accepts comma-separated list of prefix lists. Controller does the logic of looking up the names and converting them to IDs internally. IAM permissions are updated accordingly, if needed.

Accepting names in already existing annotation is also an option, as it will match the behaviour of security group annotation:

Both name and ID of securityGroups are supported. Name matches a Name tag, not the groupName attribute.

Example

service.beta.kubernetes.io/aws-load-balancer-security-groups: sg-xxxx, nameOfSg1, nameOfSg2

Describe alternatives you've considered

N/A

Contribution Intention (Optional)

-[ ] Yes, I am willing to contribute a PR to implement this feature -[x] No, I cannot work on a PR at this time

コントリビューターガイド