Specifying an IAM Role for Service Account
In the previous step, we created the IAM role that is associated with a service account named iam-test in the cluster.
First, let’s verify your service account
kubectl get sa iam-test
Make sure your service account with the ARN of the IAM role is annotated
kubectl describe sa iam-test