Skip to main content

Asset with KubeCtl v1.22

---

cdk-constructs: Experimental


This library is currently under development. Do not use!

This module exports a single class called KubectlAsset which is an s3_assets.Asset that bundles the kubectl and the helm command line.

  • Helm Version: 3.9.4
  • Kubectl Version: 1.22.0

Usage:

// KubectlAsset bundles the 'kubectl' and 'helm' command lines
import { KubectlAsset } from '@aws-cdk/asset-kubectl-v22';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlAsset(this, 'KubectlAsset');
fn.addLayers(new lambda.LayerVersion(this, 'KubectlLayer', {
  code: lambda.Code.fromBucket(kubectl.bucket, kubectl.s3ObjectKey),
}));

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.asset-kubectl-v22-0.0.3.tar.gz (27.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl (27.4 MB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.asset-kubectl-v22-0.0.3.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.asset-kubectl-v22-0.0.3.tar.gz
Algorithm Hash digest
SHA256 975f205eff8681f14995b055bfd87a0da58871114129923f3f19e79e9b4d2bf2
MD5 fa84f0d7a5cdc7ca6d1ef119728f19d4
BLAKE2b-256 8cf263693df821b740c0fa521e75c68c2b45d57f8f8e7f16ac4f38511558b896

See more details on using hashes here.

File details

Details for the file aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 855fb4d5dcc6b275c6617e07908952a38ecc63b83e494b22e22e318e2d224f55
MD5 8192efb36338a5bb6faf7dc4a60a4389
BLAKE2b-256 0d35edcefe964582dd7b239e15af116e1d8fa4634fd4159401a84fc371596382

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page