A Lambda Layer that contains kubectl v1.24
Project description
Lambda Layer with KubeCtl v1.24
---This module exports a single class called KubectlV24Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.24.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV24Layer } from '@aws-cdk/lambda-layer-kubectl-v24';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV24Layer(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-v24-2.0.168.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22006a620b2ba48f0a0411fadae8674f96066b12c489bf3049192efefc6fc845 |
|
MD5 | 2d63308c3c953f18ab49c2825e053975 |
|
BLAKE2b-256 | fa8b7efec79d48fb140448f43a2eecdac33a5ff7ee553b90f569684ccc7e6d2d |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.168-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fcdf04b95d2b96be53ba4047bef90cdec9b03e3ef2afd5ea6932ac16cad540c |
|
MD5 | 830ea473df36f2148e9e8c6d09318d34 |
|
BLAKE2b-256 | 5680be6c53b02305f95fb0a4f82d918ab110303247b0ee810b4116b54551aef7 |