Skip to content

Commit

Permalink
feat: upgrade helm and kubectl version as @aws-cdk/lambda-layer-kubec…
Browse files Browse the repository at this point in the history
…tl-v28 (#472)

Fixes #437
  • Loading branch information
Mathieu Perochon authored Nov 14, 2023
1 parent 3ddaa84 commit 4fb87a2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This module exports a single class called `KubectlV28Layer` which is a `lambda.L
bundles the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/kubectl/) and the
[`helm`](https://helm.sh/) command line.

> - Helm Version: 3.13.1
> - Kubectl Version: 1.28.2
> - Helm Version: 3.13.2
> - Kubectl Version: 1.28.3
>
Usage:
Expand Down
8 changes: 4 additions & 4 deletions layer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ FROM public.ecr.aws/lambda/provided:latest
# versions
#

ARG KUBECTL_VERSION=1.28.2
ARG HELM_VERSION=3.13.1
ARG KUBECTL_VERSION=1.28.3
ARG HELM_VERSION=3.13.2

USER root
RUN mkdir -p /opt
Expand All @@ -16,8 +16,8 @@ WORKDIR /tmp
# tools
#

RUN yum update -y \
&& yum install -y zip unzip wget tar gzip
RUN dnf update -y \
&& dnf install -y zip unzip wget tar gzip

#
# kubectl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "20.0.0",
"files": {
"b4d47e4f1c5e8fc2df2cd474ede548de153300d332ba8d582b7c1193e61cbe1e": {
"86f05776482372fd66a81138275ca1022ffed8dd49d94a7043447e754005e700": {
"source": {
"path": "asset.b4d47e4f1c5e8fc2df2cd474ede548de153300d332ba8d582b7c1193e61cbe1e.zip",
"path": "asset.86f05776482372fd66a81138275ca1022ffed8dd49d94a7043447e754005e700.zip",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "b4d47e4f1c5e8fc2df2cd474ede548de153300d332ba8d582b7c1193e61cbe1e.zip",
"objectKey": "86f05776482372fd66a81138275ca1022ffed8dd49d94a7043447e754005e700.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down Expand Up @@ -40,15 +40,15 @@
}
}
},
"5405b8f41c7ac8bf9cc30f0efbaf976a3e59e61336a33aa6b2fdf5fe592803d8": {
"86e18474711dc6dbd3f6177635ac32b37d05874c66fb96820dbe2f2a63462017": {
"source": {
"path": "lambda-layer-kubectl-integ-stack.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "5405b8f41c7ac8bf9cc30f0efbaf976a3e59e61336a33aa6b2fdf5fe592803d8.json",
"objectKey": "86e18474711dc6dbd3f6177635ac32b37d05874c66fb96820dbe2f2a63462017.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "b4d47e4f1c5e8fc2df2cd474ede548de153300d332ba8d582b7c1193e61cbe1e.zip"
"S3Key": "86f05776482372fd66a81138275ca1022ffed8dd49d94a7043447e754005e700.zip"
},
"Description": "/opt/kubectl/kubectl 1.28; /opt/helm/helm 3.13",
"LicenseInfo": "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4fb87a2

Please sign in to comment.