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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d1a59e56b94fe1844794df734c4dd5ee462395fa7ad63889a400c9a1e90244 |
|
MD5 | 7cd6af99f115ccabe44847e5e0f9c63b |
|
BLAKE2b-256 | 3b571ec62292bca96e2047ebf84e2bdada821830643c7540a0ff1d08927709be |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v23-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc911e25fe52fa13db56445c8cffbebb37f77862b6242feafde074d5b2d7cfa1 |
|
MD5 | df5c356866bfd8264f211d7d41ba79dd |
|
BLAKE2b-256 | 7d1f01f18606cd38d726a8c66863bd666609ac30f0617cae55734fca9840a7c8 |