JSPM

  • Created
  • Published
  • Downloads 8984
  • Score
    100M100P100Q51774F
  • License Apache-2.0

An AWS Lambda layer that contains the `kubectl` and `helm`

Package Exports

  • @aws-cdk/lambda-layer-kubectl

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-cdk/lambda-layer-kubectl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AWS Lambda Layer with kubectl (and helm)


cdk-constructs: Stable


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

  • Helm Version: 1.20.0
  • Kubectl Version: 3.4.2

Usage:

const fn = new lambda.Function(...);
fn.addLayers(new KubectlLayer(stack, 'KubectlLayer'));

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