-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes Serviceeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1
Description
Describe the bug
Setting EKS Cluster authenticationMode: AuthenticationMode.API cause "Error: ConfigMap not supported in the AuthenticationMode" if using albController or fargate profiles (for FargateCluster).
Expected Behavior
Use the new AccessEntry mechanism when authenticationMode: AuthenticationMode.API, for all resources managed by Cluster that need EKS API access.
Current Behavior
Error: ConfigMap not supported in the AuthenticationMode
Reproduction Steps
new Cluster(this, 'cluster', {
version: KubernetesVersion.V1_27,
authenticationMode: AuthenticationMode.API,
albController: { version: AlbControllerVersion.V2_6_2 }
});or
new FargateCluster(this, 'cluster', {
version: KubernetesVersion.V1_27,
authenticationMode: AuthenticationMode.API
});Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.148.0 (build e5740c0)
Framework Version
2.148.0
Node.js Version
v20.15.1
OS
Ubuntu 20.04
Language
TypeScript
Language Version
TypeScript 5.5.3
Other information
No response
mikejgray, mbonig and yamayo
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes Serviceeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1