Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information on regional STS endpoints for IRSA
IRSA in a private cluster requires the use of STS VPC endpoints. However, the most AWS SDKs use the global STS endpoint by default for the STS `AssumeRoleWithWebIdentity` call, which bypasses the STS VPC endpoint (and fails in a private cluster). To make this work correctly, we may need to explicitly instruct the SDK to use the regional STS endpoint. Usually this is done by passing some environment variables: ```yaml - env: - name: AWS_REGION value: <REGION> - name: AWS_STS_REGIONAL_ENDPOINTS value: regional ``` Relevant info: aws/amazon-eks-pod-identity-webhook#55 (Note: `eks.amazonaws.com/sts-regional-endpoints` doesn't appear to be supported yet in EKS) https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_sts_vpce.html#id_credentials_sts_vpce_create
- Loading branch information