Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Update aws-load-balancer-controller naming to match service account n…
Browse files Browse the repository at this point in the history
…ame (#156)
  • Loading branch information
soleares committed Jul 1, 2021
1 parent 0a6a7c3 commit d3d1ff3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ For every IRSA Role you set up, you will need a trust relationship such as the o
Further down in this guide we explain how to initialise this repository. For now, just take note that we use placeholder values such as `<<__role_arn.external_dns__>>` that will be replaced by the actual ARNs of the roles you wish to use. Below is a listing of all of the IRSA roles in use in this repository, along with links to JSON files with example policies. If you do a search on the whole "distribution" folder you find exactly where these placeholders are used.

---
### `aws-loadbalancer-controller`
### `aws-load-balancer-controller`

Needs policies that allows it to schedule a NLB in specific subnests.
Needs policies that allows it to provision a NLB in specific subnets.

- Placeholder: `<<__role_arn.loadbalancer_controller__>>`
- Example ARN: `arn:aws:iam::123456789012:role/my-cluster_kube-system_aws-loadbalancer-controller`
- Policy: [link](./docs/iam_policies/aws-loadbalancer-controller.json)
- Placeholder: `<<__role_arn.aws_load_balancer_controller__>>`
- Example ARN: `arn:aws:iam::123456789012:role/my-cluster_kube-system_aws-load-balancer-controller`
- Policy: [link](./docs/iam_policies/aws-load-balancer-controller.json)
---
### `cluster-autoscaler`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
helm:
parameters:
- name: serviceAccount.annotations.eks\.amazonaws\.com/role-arn
value: <<__role_arn.loadbalancer_controller__>>
value: <<__role_arn.aws_load_balancer_controller__>>
- name: clusterName
value: <<__cluster_name__>>
- name: image.repository
Expand Down
2 changes: 1 addition & 1 deletion examples/setup.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<<__role_arn.cluster_autoscaler__>>=arn:aws:iam::890123456789:role/my-cluster_kube-system_cluster-autoscaler
<<__role_arn.loadbalancer_controller__>>=arn:aws:iam::890123456789:role/my-cluster_kube-system_aws-load-balancer-controller
<<__role_arn.aws_load_balancer_controller__>>=arn:aws:iam::890123456789:role/my-cluster_kube-system_aws-load-balancer-controller
<<__role_arn.external_dns__>>=arn:aws:iam::890123456789:role/my-cluster_kube-system_external-dns
<<__role_arn.oauth2_proxy__>>=arn:aws:iam::890123456789:role/my-cluster_auth_oauth2-proxy
<<__role_arn.pipelines__>>=arn:aws:iam::890123456789:role/my-cluster_kubeflow_pipelines
Expand Down

0 comments on commit d3d1ff3

Please sign in to comment.