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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb14adbf17d77167dfffdab17582ecac6205469e48c3fe5d5461af77ecc9cc2a |
|
MD5 | 94873154cd6e7aa432aae84636f6f137 |
|
BLAKE2b-256 | 3b427c0c3f00f5780a437916967cac96a456fc9cb9aa9204f84620ba9de2502c |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e306bdc8a527d9bc59244bae87215a69ae39b945653b8f68ce9edb057c2cea3 |
|
MD5 | 9131b6e0077276268b60643dfd2eb9e6 |
|
BLAKE2b-256 | df9ff73c4dff03ba29c7a33a2eb2e44a8c45e5fd82aa9445154f618c4ec721dd |