Skip to content

Commit 2afdec4

Browse files
authored
fix: update kubectl v29 helm version (#1663)
Update helm version to 3.17.1
1 parent aa570e8 commit 2afdec4

6 files changed

+11
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This module exports a single class called `KubectlV29Layer` which is a `lambda.L
1313
bundles the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/kubectl/) and the
1414
[`helm`](https://helm.sh/) command line.
1515

16-
> - Helm Version: 3.14.4
16+
> - Helm Version: 3.17.1
1717
> - Kubectl Version: 1.29.4
1818
>
1919

layer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM public.ecr.aws/lambda/provided:latest
66
#
77

88
ARG KUBECTL_VERSION=1.29.4
9-
ARG HELM_VERSION=3.14.4
9+
ARG HELM_VERSION=3.17.1
1010

1111
USER root
1212
RUN mkdir -p /opt

src/kubectl-layer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class KubectlV29Layer extends lambda.LayerVersion {
1111
code: lambda.Code.fromAsset(ASSET_FILE, {
1212
assetHash: assetHash(),
1313
}),
14-
description: '/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.14.4',
14+
description: '/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.17.1',
1515
license: 'Apache-2.0',
1616
});
1717
}

test/kubectl-layer.integ.snapshot/lambda-layer-kubectl-integ-stack.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"version": "34.0.0",
33
"files": {
4-
"2266ac05f7e1f3dbecd7349c1f994abb28703d561d08d58f559927e0d31817d4": {
4+
"92de04796a6fe53d83bef2cbedb8a258440fe462611ddce2343d92d9db2d703c": {
55
"source": {
6-
"path": "asset.2266ac05f7e1f3dbecd7349c1f994abb28703d561d08d58f559927e0d31817d4.zip",
6+
"path": "asset.92de04796a6fe53d83bef2cbedb8a258440fe462611ddce2343d92d9db2d703c.zip",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "2266ac05f7e1f3dbecd7349c1f994abb28703d561d08d58f559927e0d31817d4.zip",
12+
"objectKey": "92de04796a6fe53d83bef2cbedb8a258440fe462611ddce2343d92d9db2d703c.zip",
1313
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
1414
}
1515
}
@@ -40,15 +40,15 @@
4040
}
4141
}
4242
},
43-
"11baabd2ea39a92e958855fe9d0e2c549a83bc8710379d8695623383d256922f": {
43+
"53baef9f220456ff0ed9431f1c1d9ff1e00e24d031101c99ef78f356b11cd2be": {
4444
"source": {
4545
"path": "lambda-layer-kubectl-integ-stack.template.json",
4646
"packaging": "file"
4747
},
4848
"destinations": {
4949
"current_account-current_region": {
5050
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
51-
"objectKey": "11baabd2ea39a92e958855fe9d0e2c549a83bc8710379d8695623383d256922f.json",
51+
"objectKey": "53baef9f220456ff0ed9431f1c1d9ff1e00e24d031101c99ef78f356b11cd2be.json",
5252
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
5353
}
5454
}

test/kubectl-layer.integ.snapshot/lambda-layer-kubectl-integ-stack.template.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"S3Bucket": {
88
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
99
},
10-
"S3Key": "2266ac05f7e1f3dbecd7349c1f994abb28703d561d08d58f559927e0d31817d4.zip"
10+
"S3Key": "92de04796a6fe53d83bef2cbedb8a258440fe462611ddce2343d92d9db2d703c.zip"
1111
},
12-
"Description": "/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.14.4",
12+
"Description": "/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.17.1",
1313
"LicenseInfo": "Apache-2.0"
1414
}
1515
},

test/kubectl-layer.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('synthesized to a layer version', () => {
1111

1212
// THEN
1313
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::LayerVersion', {
14-
Description: '/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.14.4',
14+
Description: '/opt/kubectl/kubectl 1.29.4; /opt/helm/helm 3.17.1',
1515
});
1616
});
1717

0 commit comments

Comments
 (0)