From c156a54ebd753de39b393cfd9d1e9e38f5b62923 Mon Sep 17 00:00:00 2001 From: shapirov Date: Mon, 21 Oct 2024 23:32:49 -0400 Subject: [PATCH] added 1.31 default version for cloudwatch addon --- lib/addons/adot/index.ts | 1 + lib/addons/cloud-watch-insights/index.ts | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/addons/adot/index.ts b/lib/addons/adot/index.ts index b72dc72fe..a5ad9c1b8 100644 --- a/lib/addons/adot/index.ts +++ b/lib/addons/adot/index.ts @@ -8,6 +8,7 @@ import { getAdotCollectorPolicyDocument } from "./iam-policy"; import { KubernetesVersion } from "aws-cdk-lib/aws-eks"; const versionMap: Map = new Map([ + // 1.31 not supported for adot as of 10/20/2024 [KubernetesVersion.V1_30, "v0.102.1-eksbuild.1"], [KubernetesVersion.V1_29, "v0.102.1-eksbuild.1"], [KubernetesVersion.V1_28, "v0.102.1-eksbuild.1"], diff --git a/lib/addons/cloud-watch-insights/index.ts b/lib/addons/cloud-watch-insights/index.ts index 9711600a9..16db44b4c 100644 --- a/lib/addons/cloud-watch-insights/index.ts +++ b/lib/addons/cloud-watch-insights/index.ts @@ -6,14 +6,15 @@ import {CoreAddOn, CoreAddOnProps} from "../core-addon"; import {ebsCollectorPolicy} from "./iam-policy"; import {KubernetesVersion} from "aws-cdk-lib/aws-eks"; -// Can be easily retrived from the aws cli with: +// Can be easily retrieved from the aws cli with: // aws eks describe-addon-versions --kubernetes-version --addon-name amazon-cloudwatch-observability \ // --query 'addons[].addonVersions[].{Version: addonVersion, Defaultversion: compatibilities[0].defaultVersion}' --output table const versionMap: Map = new Map([ - [KubernetesVersion.V1_30, "v2.1.3-eksbuild.1"], - [KubernetesVersion.V1_29, "v2.1.3-eksbuild.1"], - [KubernetesVersion.V1_28, "v2.1.3-eksbuild.1"], - [KubernetesVersion.V1_27, "v2.1.3-eksbuild.1"] + [KubernetesVersion.V1_31, "v2.1.3-eksbuild.1"], + [KubernetesVersion.V1_30, "v2.1.3-eksbuild.1"], + [KubernetesVersion.V1_29, "v2.1.3-eksbuild.1"], + [KubernetesVersion.V1_28, "v2.1.3-eksbuild.1"], + [KubernetesVersion.V1_27, "v2.1.3-eksbuild.1"] ]);