v2

class pulumi_kubernetes.helm.v2.Callable

Callable type; Callable[[int], str] is a function of (int) -> str.

The subscription syntax must always be used with exactly two values: the argument list and the return type. The argument list must be a list of types or ellipsis; the return type must be a single type.

There is no syntax to indicate optional or keyword arguments, such function types are rarely used as callback types.

class pulumi_kubernetes.helm.v2.Chart(release_name: str, config: Union[pulumi_kubernetes.helm.v2.helm.ChartOpts, pulumi_kubernetes.helm.v2.helm.LocalChartOpts], opts: Optional[pulumi.resource.ResourceOptions] = None)

Chart is a component representing a collection of resources described by an arbitrary Helm Chart. The Chart can be fetched from any source that is accessible to the helm command line. Values in the values.yml file can be overridden using ChartOpts.values (equivalent to --set or having multiple values.yml files). Objects can be transformed arbitrarily by supplying callbacks to ChartOpts.transformations.

Chart does not use Tiller. The Chart specified is copied and expanded locally; any values that would be retrieved in-cluster would be assigned fake values, and none of Tiller’s server-side validity testing is executed.

The semantics of update on a Chart are identical to those of Helm and kubectl; for example, unlike a “normal” Pulumi program, updating a ConfigMap does not trigger a cascading update among Deployments that reference it.

Parameters:
  • release_name (str) – Name of the Chart (e.g., nginx-ingress).
  • LocalChartOpts] config (Union[ChartOpts,) – Configuration options for the Chart.
  • opts (Optional[pulumi.ResourceOptions]) – A bag of options that control this resource’s behavior.
class pulumi_kubernetes.helm.v2.ChartOpts(chart: Union[T, Awaitable[T], Output[T]], namespace: Optional[Union[T, Awaitable[T], Output[T]]] = None, values: Optional[Mapping[str, Union[T, Awaitable[T], Output[T]]]] = None, transformations: Optional[List[Callable]] = None, repo: Optional[Union[T, Awaitable[T], Output[T]]] = None, version: Optional[Union[T, Awaitable[T], Output[T]]] = None, fetch_opts: Optional[Union[T, Awaitable[T], Output[T]]] = None)

ChartOpts is a bag of configuration options for a remote Helm chart.

Parameters:
  • chart (pulumi.Input[str]) – The chart to deploy. If [repo] is provided, this chart name is looked up in the given repository. Otherwise, this chart name must be a fully qualified chart URL or repo/chartname.
  • namespace (Optional[pulumi.Input[str]]) – Optional namespace to install chart resources into.
  • values (Optional[pulumi.Inputs]) – Optional overrides for chart values.
  • transformations (Optional[List[Callable]) – Optional list of transformations to apply to resources that will be created by this chart prior to creation. Allows customization of the chart behaviour without directly modifying the chart itself.
  • repo (Optional[pulumi.Input[str]]) – The repository containing the desired chart. If not provided, [chart] must be a fully qualified chart URL or repo/chartname.
  • version (Optional[pulumi.Input[str]]) – The version of the chart to deploy. If not provided, the latest version will be deployed.
  • fetch_opts (Optional[pulumi.Input[FetchOpts]]) – Additional options to customize the fetching of the Helm chart.
chart = None

The chart to deploy. If [repo] is provided, this chart name is looked up in the given repository. Otherwise, this chart name must be a fully qualified chart URL or repo/chartname.

namespace = None

Optional namespace to install chart resources into.

values = None

Optional overrides for chart values.

transformations = None

Optional list of transformations to apply to resources that will be created by this chart prior to creation. Allows customization of the chart behaviour without directly modifying the chart itself.

repo = None

The repository containing the desired chart. If not provided, [chart] must be a fully qualified chart URL or repo/chartname.

version = None

The version of the chart to deploy. If not provided, the latest version will be deployed.

fetch_opts = None

Additional options to customize the fetching of the Helm chart.

class pulumi_kubernetes.helm.v2.FetchOpts(version: Optional[Union[T, Awaitable[T], Output[T]]] = None, ca_file: Optional[Union[T, Awaitable[T], Output[T]]] = None, cert_file: Optional[Union[T, Awaitable[T], Output[T]]] = None, key_file: Optional[Union[T, Awaitable[T], Output[T]]] = None, destination: Optional[Union[T, Awaitable[T], Output[T]]] = None, keyring: Optional[Union[T, Awaitable[T], Output[T]]] = None, password: Optional[Union[T, Awaitable[T], Output[T]]] = None, repo: Optional[Union[T, Awaitable[T], Output[T]]] = None, untar_dir: Optional[Union[T, Awaitable[T], Output[T]]] = None, username: Optional[Union[T, Awaitable[T], Output[T]]] = None, home: Optional[Union[T, Awaitable[T], Output[T]]] = None, devel: Optional[Union[T, Awaitable[T], Output[T]]] = None, prov: Optional[Union[T, Awaitable[T], Output[T]]] = None, untar: Optional[Union[T, Awaitable[T], Output[T]]] = None, verify: Optional[Union[T, Awaitable[T], Output[T]]] = None)

FetchOpts is a bag of configuration options to customize the fetching of the Helm chart.

Parameters:
  • version (Optional[pulumi.Input[str]]) – Specific version of a chart. If unset, the latest version is fetched.
  • ca_file (Optional[pulumi.Input[str]]) – Verify certificates of HTTPS-enabled servers using this CA bundle.
  • cert_file (Optional[pulumi.Input[str]]) – Identify HTTPS client using this SSL certificate file.
  • key_file (Optional[pulumi.Input[str]]) – Identify HTTPS client using this SSL key file.
  • destination (Optional[pulumi.Input[str]]) – Location to write the chart. If this and [tardir] are specified, tardir is appended to this (default “.”).
  • keyring (Optional[pulumi.Input[str]]) – Keyring containing public keys (default “/Users/</span>/.gnupg/pubring.gpg”).</li>
  • password (Optional[pulumi.Input[str]]) – Chart repository password.
  • repo (Optional[pulumi.Input[str]]) – Chart repository url where to locate the requested chart.
  • untar_dir (Optional[pulumi.Input[str]]) – If [untar] is specified, this flag specifies the name of the directory into which the chart is expanded (default “.”).
  • username (Optional[pulumi.Input[str]]) – Chart repository username.
  • home (Optional[pulumi.Input[str]]) – Location of your Helm config. Overrides $HELM_HOME (default “/Users/</span>/.helm”).</li>
  • devel (Optional[pulumi.Input[bool]]) – Use development versions, too. Equivalent to version ‘>0.0.0-0’. If [version] is set, this is ignored.
  • prov (Optional[pulumi.Input[bool]]) – Fetch the provenance file, but don’t perform verification.
  • untar (Optional[pulumi.Input[bool]]) – If set to false, will leave the chart as a tarball after downloading.
  • verify (Optional[pulumi.Input[bool]]) – Verify the package against its signature.
  • </ul> </td> </tr> </tbody> </table>
    version = None

    Specific version of a chart. If unset, the latest version is fetched.

    ca_file = None

    Verify certificates of HTTPS-enabled servers using this CA bundle.

    cert_file = None

    Identify HTTPS client using this SSL certificate file.

    key_file = None

    Identify HTTPS client using this SSL key file.

    destination = None

    Location to write the chart. If this and [tardir] are specified, tardir is appended to this (default “.”).

    keyring = None

    Keyring containing public keys (default “/Users/alex/.gnupg/pubring.gpg”).

    password = None

    Chart repository password.

    repo = None

    Chart repository url where to locate the requested chart.

    untar_dir = None

    If [untar] is specified, this flag specifies the name of the directory into which the chart is expanded (default “.”).

    username = None

    Chart repository username.

    home = None

    Location of your Helm config. Overrides $HELM_HOME (default “/Users/alex/.helm”).

    devel = None

    Use development versions, too. Equivalent to version ‘>0.0.0-0’. If [version] is set, this is ignored.

    prov = None

    Fetch the provenance file, but don’t perform verification.

    untar = None

    If set to false, will leave the chart as a tarball after downloading.

    verify = None

    Verify the package against its signature.

    </dd></dl>
    class pulumi_kubernetes.helm.v2.List
    class pulumi_kubernetes.helm.v2.LocalChartOpts(path: Union[T, Awaitable[T], Output[T]], namespace: Optional[Union[T, Awaitable[T], Output[T]]] = None, values: Optional[Mapping[str, Union[T, Awaitable[T], Output[T]]]] = None, transformations: Optional[List[Callable]] = None)

    LocalChartOpts is a bag of configuration options for a local Helm chart.

    Parameters:
    • path (pulumi.Input[str]) – The path to the chart directory which contains the Chart.yaml file.
    • namespace (Optional[pulumi.Input[str]]) – Optional namespace to install chart resources into.
    • values (Optional[pulumi.Inputs]) – Optional overrides for chart values.
    • transformations (Optional[List[Callable]]) – Optional list of transformations to apply to resources that will be created by this chart prior to creation. Allows customization of the chart behaviour without directly modifying the chart itself.
    path = None

    The path to the chart directory which contains the Chart.yaml file.

    namespace = None

    Optional namespace to install chart resources into.

    values = None

    Optional overrides for chart values.

    transformations = None

    Optional list of transformations to apply to resources that will be created by this chart prior to creation. Allows customization of the chart behaviour without directly modifying the chart itself.

    pulumi_kubernetes.helm.v2.NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None, newline=None, suffix=None, prefix=None, dir=None, delete=True)

    Create and return a temporary file. Arguments: ‘prefix’, ‘suffix’, ‘dir’ – as for mkstemp. ‘mode’ – the mode argument to io.open (default “w+b”). ‘buffering’ – the buffer size argument to io.open (default -1). ‘encoding’ – the encoding argument to io.open (default None) ‘newline’ – the newline argument to io.open (default None) ‘delete’ – whether the file is deleted on close (default True). The file is created as mkstemp() would do it.

    Returns an object with a file-like interface; the name of the file is accessible as its ‘name’ attribute. The file will be automatically deleted when it is closed unless the ‘delete’ argument is set to False.

    class pulumi_kubernetes.helm.v2.TemporaryDirectory(suffix=None, prefix=None, dir=None)

    Create and return a temporary directory. This has the same behavior as mkdtemp but can be used as a context manager. For example:

    Upon exiting the context, the directory and everything contained in it are removed.

    class pulumi_kubernetes.helm.v2.Tuple

    Tuple type; Tuple[X, Y] is the cross-product type of X and Y.

    Example: Tuple[T1, T2] is a tuple of two elements corresponding to type variables T1 and T2. Tuple[int, float, str] is a tuple of an int, a float and a string.

    To specify a variable-length tuple of homogeneous type, use Tuple[T, …].

    </div>