Extending ROSA STS to include authentication with AWS Services
This content is authored by Red Hat experts, but has not yet been tested on every supported configuration.
In this example we will deploy the Amazon Ingress Controller that uses ALBs, and configure it to use STS authentication.
Deployment
Configure STS
-
Make sure your cluster has the pod identity webhook
-
Download the IAM Policy for the AWS Load Balancer Hooks
-
Create AWS Role with inline policy
-
Create AWS Policy and Service Account
-
Create service account
Note I had issues with the policy, and for now just gave this user admin creds. Need to revisit and figure out.
-
Create access key
-
Attach policy to user
-
Paste the
AccessKeyIdandSecretAccessKeyinto values.yaml -
tag your public subnet with ``
-
Create a namespace for the controller
-
Apply CRDs
-
Add the helm repo and install the controller (install helm3 if not already)