Skip to content

Lambda Layer with KubeCtl v1.36


cdk-constructs: Stable


This module exports a single class called KubectlV36Layer which is a lambda.LayerVersion that bundles the kubectl and the helm command line.

  • Helm Version: 4.2.3
  • Kubectl Version: 1.36.3

Usage:

// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV36Layer } from '@aws-cdk/lambda-layer-kubectl-v36';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlV36Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);

kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

27 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages