A Lambda Layer that contains kubectl v1.23
Project description
Lambda Layer with KubeCtl v1.23
---This module exports a single class called KubectlV23Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.23.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV23Layer } from '@aws-cdk/lambda-layer-kubectl-v23';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV23Layer(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-v23-2.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2f050899a2a922a86a93cc41d1a822a952a2c1095f5e95bff5717d8cfd7c9c |
|
MD5 | e630d74a8dc8efc886c2cec52bc2e1a8 |
|
BLAKE2b-256 | f771673d0450a1183effea0a53e0e99730eda544ef52c8cb4bedee9775794a2a |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v23-2.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f258d0eeb2ec233cd65e9e2f15ba0881f4909a695752e04fdb3d5d8e6caa9be |
|
MD5 | 63fe9b5d7998e811f833979da887baa8 |
|
BLAKE2b-256 | 002410ea7a752f62fc1abff9048eac2d3e1e671dcc3e7bce94aac1d29f1ed05c |