Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Update IAM policy for AWS LoadBalancer Controller #3578

Merged
merged 5 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update IAM policy for AWS LoadBalancer Controller.

## [14.19.0] - 2023-07-14

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,20 @@ const TemplateMainIAMPolicies = `
Condition:
'Null':
'aws:ResourceTag/elbv2.k8s.aws/cluster': 'false'
- Effect: Allow
Action:
- 'elasticloadbalancing:AddTags'
Resource:
- "arn:{{ .IAMPolicies.RegionARN }}:elasticloadbalancing:*:*:targetgroup/*/*",
- "arn:{{ .IAMPolicies.RegionARN }}:elasticloadbalancing:*:*:loadbalancer/net/*/*",
- "arn:{{ .IAMPolicies.RegionARN }}:elasticloadbalancing:*:*:loadbalancer/app/*/*"
Condition:
StringEquals:
'elasticloadbalancing:CreateAction':
- CreateTargetGroup
- CreateLoadBalancer
Null:
'aws:RequestTag/elbv2.k8s.aws/cluster': 'false'
- Effect: Allow
Action:
- 'elasticloadbalancing:RegisterTargets'
Expand Down