Skip to content

Commit 8fa60c9

Browse files
authored
feat: update Helm to 4.1.3 (#2700)
Fixes #
1 parent 94c8666 commit 8fa60c9

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This module exports a single class called `KubectlV33Layer` 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.18.0
16+
> - Helm Version: 4.1.3
1717
> - Kubectl Version: 1.33.0
1818
>
1919

layer/Dockerfile

Lines changed: 1 addition & 1 deletion
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.33.9
9-
ARG HELM_VERSION=3.18.0
9+
ARG HELM_VERSION=4.1.3
1010

1111
USER root
1212
RUN mkdir -p /opt

src/kubectl-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class KubectlV33Layer extends lambda.LayerVersion {
1111
code: lambda.Code.fromAsset(ASSET_FILE, {
1212
assetHash: assetHash(),
1313
}),
14-
description: '/opt/kubectl/kubectl 1.33.0; /opt/helm/helm 3.18.0',
14+
description: '/opt/kubectl/kubectl 1.33.0; /opt/helm/helm 4.1.3',
1515
license: 'Apache-2.0',
1616
});
1717
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"version": "34.0.0",
33
"files": {
4-
"54972959a6e26748febc9dff34046dacf375c5566e1692d03a6c7e414280828b": {
4+
"72b491c696d879ecf0fe6f35baa25e441e0a7bdd4983b728451e63ca31320b9b": {
55
"source": {
6-
"path": "asset.54972959a6e26748febc9dff34046dacf375c5566e1692d03a6c7e414280828b.zip",
6+
"path": "asset.72b491c696d879ecf0fe6f35baa25e441e0a7bdd4983b728451e63ca31320b9b.zip",
77
"packaging": "file"
88
},
99
"destinations": {
1010
"current_account-current_region": {
1111
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12-
"objectKey": "54972959a6e26748febc9dff34046dacf375c5566e1692d03a6c7e414280828b.zip",
12+
"objectKey": "72b491c696d879ecf0fe6f35baa25e441e0a7bdd4983b728451e63ca31320b9b.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-
"5f2a93313401bc329dd5045c06cd103ad681adb2d43245fc86c057597c579d4d": {
43+
"d3dcabf08f2683666f3a6945e3e7dc9eb4a5d48a6d705f5e9b9228607d7aa718": {
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": "5f2a93313401bc329dd5045c06cd103ad681adb2d43245fc86c057597c579d4d.json",
51+
"objectKey": "d3dcabf08f2683666f3a6945e3e7dc9eb4a5d48a6d705f5e9b9228607d7aa718.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

Lines changed: 2 additions & 2 deletions
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": "54972959a6e26748febc9dff34046dacf375c5566e1692d03a6c7e414280828b.zip"
10+
"S3Key": "72b491c696d879ecf0fe6f35baa25e441e0a7bdd4983b728451e63ca31320b9b.zip"
1111
},
12-
"Description": "/opt/kubectl/kubectl 1.33.0; /opt/helm/helm 3.18.0",
12+
"Description": "/opt/kubectl/kubectl 1.33.0; /opt/helm/helm 4.1.3",
1313
"LicenseInfo": "Apache-2.0"
1414
}
1515
},

test/kubectl-layer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ test('synthesized to a layer version', () => {
1111

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

0 commit comments

Comments
 (0)