EKS: Access Denied when using a KubernetesManifest or HelmChart #26979
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
I've created a standard EKS cluster in CDK.
When I go to create either a
HelmChart
orKubernetesManifest
in another stack, I run into anAccess Denied
error.The manifest is one that I've been able to apply manually with
kubectl
without issue. Now that I'm applying it using CDK instead, I get this error. It looks like it's using nested stacks for that so I'm assuming there's some problem there.Expected Behavior
The KuberenetesManifest gets applied to the EKS cluster.
Current Behavior
An error is thrown and the stack fails to deploy.
Reproduction Steps
Create an EKS stack:
then try to apply any manifest:
Possible Solution
No response
Additional Information/Context
I just upgraded to the newest version of aws-cdk but this was also happening on
2.87.0 (build 9fca790)
.CDK CLI Version
2.93.0 (build 724bd01)
Framework Version
No response
Node.js Version
v18.16.1
OS
macOS Monterey 12.6
Language
Typescript
Language Version
5.0.4
Other information
No response
The text was updated successfully, but these errors were encountered: