-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
aws-eks: OCI HelmChart from public.ecr.aws only works in us-east-1 #23977
Comments
related to #23052 |
|
reopening this issue as #23176 is not resolved yet. |
fix helm deploy login for public ECR repositories I have tested this issue fixed in `us-east-1` and `us-west-2` integ testing for ``` yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-east-1 yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-west-2 ``` Closes #23977. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
fix helm deploy login for public ECR repositories I have tested this issue fixed in `us-east-1` and `us-west-2` integ testing for ``` yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-east-1 yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-west-2 ``` Closes #23977. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
fix helm deploy login for public ECR repositories I have tested this issue fixed in `us-east-1` and `us-west-2` integ testing for ``` yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-east-1 yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-west-2 ``` Closes aws#23977. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
fix helm deploy login for public ECR repositories I have tested this issue fixed in `us-east-1` and `us-west-2` integ testing for ``` yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-east-1 yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-west-2 ``` Closes aws#23977. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
fix helm deploy login for public ECR repositories I have tested this issue fixed in `us-east-1` and `us-west-2` integ testing for ``` yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-east-1 yarn integ-runner integ.eks-helm-asset.js --force --parallel-regions us-west-2 ``` Closes aws#23977. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the bug
I'm trying to add a HelmChart from the public.ecr.aws OCI repository to a stack deployed in us-west-2 and am getting this error.
Expected Behavior
I expect the chart to install without error.
Current Behavior
Failing with the following error.
Reproduction Steps
The HelmChart used looks like this. Stack was deployed into us-west-2.
Possible Solution
Change this line of code https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-eks/lib/kubectl-handler/helm/__init__.py#L113
to
Additional Information/Context
According to the Amazon ECR public registries documentation the region should always be us-east-1 for the
ecr-public get-login-password
operation.https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth
When authenticating to a public registry, always authenticate to the us-east-1 Region when using the AWS CLI.
CDK CLI Version
2.62.2 (build c164a49)
Framework Version
No response
Node.js Version
v14.21.2
OS
Amazon Linux 2
Language
Typescript
Language Version
4.7.4
Other information
No response
The text was updated successfully, but these errors were encountered: