A Lambda Layer that contains kubectl v1.26
Project description
Lambda Layer with KubeCtl v1.26
---This module exports a single class called KubectlV26Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.26.4
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV26Layer } from '@aws-cdk/lambda-layer-kubectl-v26';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV26Layer(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-v26-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0115938ac9d41ba8b74911985f0b17e65596942b376e73711b594b16d3b5ea83 |
|
MD5 | 04586247ab741542a6f14027559f102e |
|
BLAKE2b-256 | 8b2d22aeef1277b0c50a0f72e100884692970895e6010327d608f2ac274bae63 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v26-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2a48c3a7e99dfb3b590777b9fc6da7ee863f0b638f854711685354614168b0 |
|
MD5 | b775b4509d750e606947218de1f9c6a1 |
|
BLAKE2b-256 | adda982fc413a2ff12e0a958def944785df8940c182f9b1cc99354063ce7e43f |