Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lambda-layer-kubectl): update kubectl layer to use v1.22.0 #24064

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@aws-cdk/lambda-layer-kubectl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

This module exports a single class called `KubectlLayer` which is a `lambda.Layer` that bundles the [`kubectl`](https://kubernetes.io/docs/reference/kubectl/kubectl/) and the [`helm`](https://helm.sh/) command line.

> - Helm Version: 3.5.4
> - Kubectl Version: 1.20.0
> - Helm Version: 3.8.2
> - Kubectl Version: 1.22.0
>

Usage:
Expand Down
6 changes: 2 additions & 4 deletions packages/@aws-cdk/lambda-layer-kubectl/layer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ FROM public.ecr.aws/lambda/provided:latest
# versions
#

# KUBECTL_VERSION should not be changed at the moment, see https://github.com/aws/aws-cdk/issues/15736
# Version 1.21.0 is not compatible with version 1.20 (and lower) of the server.
ARG KUBECTL_VERSION=1.20.0
ARG HELM_VERSION=3.8.1
ARG KUBECTL_VERSION=1.22.0
ARG HELM_VERSION=3.8.2

USER root
RUN mkdir -p /opt
Expand Down