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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90674e328523b3586cdc40224ecfd8932a05765bc81c6dfa87a44d44072b48d2 |
|
MD5 | 805584832f3187d09b6bcebe7d68610d |
|
BLAKE2b-256 | 2c9a118cf247c50c2202e177a4b62e428ad06242d62d34c5985f5558b5b6359c |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e02fe09f7bcc39a39a86e20847f9963b52fd95d6cfdebb80e18a74909b8fea26 |
|
MD5 | 1ada6ca3ec8b51dac459f9a7e3913c13 |
|
BLAKE2b-256 | cc83d97520a326417f3e3ecc84c8311b09e1dc47c8f36c7993ae89ba331b4a15 |