-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add elasticloadbalancing:ModifyTargetGroupAttributes to aws lb controller #11393
Add elasticloadbalancing:ModifyTargetGroupAttributes to aws lb controller #11393
Conversation
When using the annotation The following permissions are needed in order to setup HTTPs certificate: {
"Effect": "Allow",
"Action": "acm:DescribeCertificate",
"Resource": "arn:aws:acm:*:<accountid>:certificate/*"
},
{
"Effect": "Allow",
"Action": "acm:ListCertificates",
"Resource": "*"
} |
When changing an ingress I also need to set {
"Effect": "Allow",
"Action": "elasticloadbalancing:DeleteRule",
"Resource": [
"arn:aws:elasticloadbalancing:*:<accountid>:listener-rule/app/*/*/*/*",
"arn:aws:elasticloadbalancing:*:<accountid>:listener-rule/net/*/*/*/*"
]
},
{
"Effect": "Allow",
"Action": "elasticloadbalancing:ModifyRule",
"Resource": [
"arn:aws:elasticloadbalancing:*:<accountid>:listener-rule/app/*/*/*/*",
"arn:aws:elasticloadbalancing:*:<accountid>:listener-rule/net/*/*/*/*"
]
} |
ca11045
to
cd9ddd6
Compare
I think the ACM part needs more thinking. Maybe require that the certs have certain tags for them to be used by a cluster. |
I'd say the same might be applicable to the ALBs created by the ingress controller? But that might be harder to achieve? |
ALBs created by the LB controller has the This is why we don't copy/paste the permissions from the LB controller docs.. they are just way to open for anyone security minded. |
I can image that. |
ah yes. more rules could have
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman 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 |
…393-origin-release-1.20 Automated cherry pick of #11393: Add elasticloadbalancing:ModifyTargetGroupAttributes to aws
Fixes #11297