A Lambda Layer that contains kubectl v1.28
Project description
Lambda Layer with KubeCtl v1.28
---This module exports a single class called KubectlV28Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.13.1
- Kubectl Version: 1.28.2
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV28Layer } from '@aws-cdk/lambda-layer-kubectl-v28';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV28Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws-cdk.lambda-layer-kubectl-v28-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee0739004817053c842b6a3084c9445dd92e33dc11830c05a49769aab9b193f |
|
MD5 | 1091b3d0778506494086cf6326d0b997 |
|
BLAKE2b-256 | 9530b5eada6e17939e4f17465f35cc2e41f37b3fb4aa72d0b782c51340ec72b6 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v28-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7527c1239cf6f2f8e44d22778151015b17f5898963aaed6b225fc399d548f37 |
|
MD5 | 842f772f387a1ed77ca809b3c9f293f0 |
|
BLAKE2b-256 | 33c940e673372f34367c064da2b5beac54396ef6889b99e298a849664947e397 |