Fork me on GitHub

Package @pulumi/kubernetes


var kubernetes = require("@pulumi/kubernetes");

ES6 modules:

import * as kubernetes from "@pulumi/kubernetes";


helm.ts path.ts provider.ts


class Provider

The provider type for the kubernetes package.


new Provider(name: string, args: ProviderArgs, opts?: pulumi.ResourceOptions)

Create a Provider resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function fetch

fetch(chart: string, opts?: FetchOpts): void

function quotePath

quotePath(path: string): string

function quoteWindowsPath

quoteWindowsPath(path: string): string

interface FetchOpts

property caFile

caFile?: undefined | string;

property certFile

certFile?: undefined | string;

property destination

destination?: undefined | string;

property devel

devel?: undefined | false | true;

property home

home?: undefined | string;

property keyFile

keyFile?: undefined | string;

property keyring

keyring?: undefined | string;

property password

password?: undefined | string;

property prov

prov?: undefined | false | true;

property repo

repo?: undefined | string;

property untar

untar?: undefined | false | true;

property untardir

untardir?: undefined | string;

property username

username?: undefined | string;

property verify

verify?: undefined | false | true;

property version

version?: undefined | string;

interface ProviderArgs

The set of arguments for constructing a Provider.

property cluster

cluster?: pulumi.Input<string>;

If present, the name of the kubeconfig cluster to use.

property context

context?: pulumi.Input<string>;

If present, the name of the kubeconfig context to use.

property kubeconfig

kubeconfig?: pulumi.Input<string>;

The contents of a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG.

property namespace

namespace?: pulumi.Input<string>;

If present, the namespace scope to use.