helm

package
Version: v3.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	pulumi.ResourceState

	Ready     pulumi.ResourceArrayOutput
	Resources pulumi.Output
}

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; the semantics are equivalent to running `helm template` and then using Pulumi to manage the resulting YAML manifests. Any values that would be retrieved in-cluster are assigned fake values, and none of Tiller's server-side validity testing is executed.

## Example Usage ### Local Chart Directory

“`go package main

import (

"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
        Path: pulumi.String("./nginx-ingress"),
    })
    if err != nil {
        return err
    }

    return nil
})

} “` ### Remote Chart

“`go package main

import (

"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
        Chart:   pulumi.String("nginx-ingress"),
        Version: pulumi.String("1.24.4"),
        FetchArgs: helm.FetchArgs{
            Repo: pulumi.String("https://charts.helm.sh/stable"),
        },
    })
    if err != nil {
        return err
    }

    return nil
})

} “` ### Set Chart values

“`go package main

import (

"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
        Chart:   pulumi.String("nginx-ingress"),
        Version: pulumi.String("1.24.4"),
        FetchArgs: helm.FetchArgs{
            Repo: pulumi.String("https://charts.helm.sh/stable"),
        },
        Values: pulumi.Map{
            "controller": pulumi.Map{
                "metrics": pulumi.Map{
                    "enabled": pulumi.Bool(true),
                },
            },
        },
    })
    if err != nil {
        return err
    }

    return nil
})

} “` ### Deploy Chart into Namespace

“`go package main

import (

"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
        Chart:     pulumi.String("nginx-ingress"),
        Version:   pulumi.String("1.24.4"),
        Namespace: pulumi.String("test-namespace"),
        FetchArgs: helm.FetchArgs{
            Repo: pulumi.String("https://charts.helm.sh/stable"),
        },
    })
    if err != nil {
        return err
    }

    return nil
})

} “` ### Chart with Transformations

“`go package main

import (

"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3"
"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/yaml"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {

pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
        Chart:   pulumi.String("nginx-ingress"),
        Version: pulumi.String("1.24.4"),
        FetchArgs: helm.FetchArgs{
            Repo: pulumi.String("https://charts.helm.sh/stable"),
        },
        Transformations: []yaml.Transformation{
            // Make every service private to the cluster, i.e., turn all services into ClusterIP
            // instead of LoadBalancer.
            func(state map[string]interface{}, opts ...pulumi.ResourceOption) {
                if state["kind"] == "Service" {
                    spec := state["spec"].(map[string]interface{})
                    spec["type"] = "ClusterIP"
                }
            },

            // Set a resource alias for a previous name.
            func(state map[string]interface{}, opts ...pulumi.ResourceOption) {
                if state["kind"] == "Deployment" {
                    aliases := pulumi.Aliases([]pulumi.Alias{
                        {
                            Name: pulumi.String("oldName"),
                        },
                    })
                    opts = append(opts, aliases)
                }
            },

            // Omit a resource from the Chart by transforming the specified resource definition
            // to an empty List.
            func(state map[string]interface{}, opts ...pulumi.ResourceOption) {
                name := state["metadata"].(map[string]interface{})["name"]
                if state["kind"] == "Pod" && name == "test" {
                    state["apiVersion"] = "core/v1"
                    state["kind"] = "List"
                }
            },
        },
    })
    if err != nil {
        return err
    }

    return nil
})

} “`

func NewChart

func NewChart(ctx *pulumi.Context,
	name string, args ChartArgs, opts ...pulumi.ResourceOption) (*Chart, error)

NewChart registers a new resource with the given unique name, arguments, and options.

func (*Chart) GetResource

func (c *Chart) GetResource(gvk, name, namespace string) pulumi.AnyOutput

GetResource returns a resource defined by a built-in Kubernetes group/version/kind, name and namespace. For example, GetResource("v1/Pod", "foo", "") would return a Pod called "foo" from the "default" namespace.

type ChartArgs

type ChartArgs struct {
	// The optional Kubernetes API versions used for Capabilities.APIVersions.
	APIVersions pulumi.StringArrayInput
	// By default, Helm resources with the `test`, `test-success`, and `test-failure` hooks are not installed. Set
	// this flag to true to include these resources.
	IncludeTestHookResources pulumi.BoolInput
	// Skip await logic for all resources in this Chart. Resources will be marked ready as soon as they are created.
	// Warning: This option should not be used if you have resources depending on Outputs from the Chart.
	SkipAwait pulumi.BoolInput
	// By default CRDs are also rendered along side templates. Set this to skip CRDs.
	SkipCRDRendering pulumi.BoolInput
	// The optional namespace to install chart resources into.
	Namespace pulumi.StringInput
	// Overrides for chart values.
	Values pulumi.MapInput
	// Transformations is an optional list of transformations to apply to Kubernetes resource definitions
	// before registering with the engine.
	Transformations []yaml.Transformation
	// ResourcePrefix is an optional prefix for the auto-generated resource names. For example, a resource named `bar`
	// created with resource prefix of `"foo"` would produce a resource named `"foo-bar"`.
	ResourcePrefix string

	// (Remote chart) The repository name of the chart to deploy. Example: "stable".
	Repo pulumi.StringInput
	// (Remote chart) The name of the chart to deploy.  If Repo is specified, this chart name will be prefixed
	// by the repo name.
	// Example: Repo: "stable", Chart: "nginx-ingress" -> "stable/nginx-ingress"
	// Example: Chart: "stable/nginx-ingress" -> "stable/nginx-ingress"
	Chart pulumi.StringInput
	// (Remote chart) The version of the chart to deploy. If not provided, the latest version will be deployed.
	Version pulumi.StringInput
	// (Remote chart) Additional options to customize the fetching of the Helm chart.
	FetchArgs FetchArgsInput

	// (Local chart) The path to the chart directory which contains the `Chart.yaml` file.
	// If Path is set, any remote chart args (Repo, Chart, Version, FetchArgs) will be ignored.
	Path pulumi.StringInput
}

ChartArgs specifies arguments for constructing a Chart resource.

func (ChartArgs) ElementType

func (ChartArgs) ElementType() reflect.Type

func (ChartArgs) ToChartArgsOutput

func (i ChartArgs) ToChartArgsOutput() ChartArgsOutput

func (ChartArgs) ToChartArgsOutputWithContext

func (i ChartArgs) ToChartArgsOutputWithContext(ctx context.Context) ChartArgsOutput

type ChartArgsInput

type ChartArgsInput interface {
	pulumi.Input

	ToChartArgsOutput() ChartArgsOutput
	ToChartArgsOutputWithContext(context.Context) ChartArgsOutput
}

type ChartArgsOutput

type ChartArgsOutput struct{ *pulumi.OutputState }

func (ChartArgsOutput) ElementType

func (ChartArgsOutput) ElementType() reflect.Type

func (ChartArgsOutput) ToChartArgsOutput

func (o ChartArgsOutput) ToChartArgsOutput() ChartArgsOutput

func (ChartArgsOutput) ToChartArgsOutputWithContext

func (o ChartArgsOutput) ToChartArgsOutputWithContext(ctx context.Context) ChartArgsOutput

type FetchArgs

type FetchArgs struct {
	// Specific version of a chart. If unset, the latest version is fetched.
	Version pulumi.StringInput
	// Verify certificates of HTTPS-enabled servers using this CA bundle.
	CAFile pulumi.StringInput
	// Identify HTTPS client using this SSL certificate file.
	CertFile pulumi.StringInput
	// Identify HTTPS client using this SSL key file.
	KeyFile pulumi.StringInput
	// Location to write the chart. If Destination and UntarDir are specified, UntarDir is
	// appended to Destination (default ".").
	Destination pulumi.StringInput
	// Keyring containing public keys (default "~/.gnupg/pubring.gpg").
	Keyring pulumi.StringInput
	// Chart repository password.
	Password pulumi.StringInput
	// Chart repository URL for the requested chart.
	Repo pulumi.StringInput
	// Location to expand the chart. (default ".").
	UntarDir pulumi.StringInput
	// Chart repository username.
	Username pulumi.StringInput
	// Location of your Helm config. Overrides $HELM_HOME (default "~/.helm").
	Home pulumi.StringInput
	// Use development versions, too. Equivalent to version '>0.0.0-0'. If Version is set,
	// Devel is ignored.
	Devel pulumi.BoolPtrInput
	// Fetch the provenance file, but don't perform verification.
	Prov pulumi.BoolPtrInput
	// If false, leave the chart as a tarball after downloading.
	Untar pulumi.BoolPtrInput
	// Verify the package against its signature.
	Verify pulumi.BoolPtrInput
}

FetchArgs specifies arguments for fetching the Helm chart.

func (FetchArgs) ElementType

func (FetchArgs) ElementType() reflect.Type

func (FetchArgs) ToFetchArgsOutput

func (i FetchArgs) ToFetchArgsOutput() FetchArgsOutput

func (FetchArgs) ToFetchArgsOutputWithContext

func (i FetchArgs) ToFetchArgsOutputWithContext(ctx context.Context) FetchArgsOutput

type FetchArgsInput

type FetchArgsInput interface {
	pulumi.Input

	ToFetchArgsOutput() FetchArgsOutput
	ToFetchArgsOutputWithContext(context.Context) FetchArgsOutput
}

type FetchArgsOutput

type FetchArgsOutput struct{ *pulumi.OutputState }

func (FetchArgsOutput) ElementType

func (FetchArgsOutput) ElementType() reflect.Type

func (FetchArgsOutput) ToFetchArgsOutput

func (o FetchArgsOutput) ToFetchArgsOutput() FetchArgsOutput

func (FetchArgsOutput) ToFetchArgsOutputWithContext

func (o FetchArgsOutput) ToFetchArgsOutputWithContext(ctx context.Context) FetchArgsOutput

type Release added in v3.7.0

type Release struct {
	pulumi.CustomResourceState

	// If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used.
	Atomic pulumi.BoolPtrOutput `pulumi:"atomic"`
	// Chart name to be installed. A path may be used.
	Chart pulumi.StringOutput `pulumi:"chart"`
	// Allow deletion of new resources created in this upgrade when upgrade fails.
	CleanupOnFail pulumi.BoolPtrOutput `pulumi:"cleanupOnFail"`
	// Create the namespace if it does not exist.
	CreateNamespace pulumi.BoolPtrOutput `pulumi:"createNamespace"`
	// Run helm dependency update before installing the chart.
	DependencyUpdate pulumi.BoolPtrOutput `pulumi:"dependencyUpdate"`
	// Add a custom description
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
	Devel pulumi.BoolPtrOutput `pulumi:"devel"`
	// Prevent CRD hooks from, running, but run other hooks.  See helm install --no-crd-hook
	DisableCRDHooks pulumi.BoolPtrOutput `pulumi:"disableCRDHooks"`
	// If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema
	DisableOpenapiValidation pulumi.BoolPtrOutput `pulumi:"disableOpenapiValidation"`
	// Prevent hooks from running.
	DisableWebhooks pulumi.BoolPtrOutput `pulumi:"disableWebhooks"`
	// Force resource update through delete/recreate if needed.
	ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"`
	// Location of public keys used for verification. Used only if `verify` is true
	Keyring pulumi.StringPtrOutput `pulumi:"keyring"`
	// Run helm lint when planning.
	Lint pulumi.BoolPtrOutput `pulumi:"lint"`
	// The rendered manifests as JSON. Not yet supported.
	Manifest pulumi.MapOutput `pulumi:"manifest"`
	// Limit the maximum number of revisions saved per release. Use 0 for no limit.
	MaxHistory pulumi.IntPtrOutput `pulumi:"maxHistory"`
	// Release name.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// Namespace to install the release into.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Postrender command to run.
	Postrender pulumi.StringPtrOutput `pulumi:"postrender"`
	// Perform pods restart during upgrade/rollback.
	RecreatePods pulumi.BoolPtrOutput `pulumi:"recreatePods"`
	// If set, render subchart notes along with the parent.
	RenderSubchartNotes pulumi.BoolPtrOutput `pulumi:"renderSubchartNotes"`
	// Re-use the given name, even if that name is already used. This is unsafe in production
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
	// Specification defining the Helm chart repository to use.
	RepositoryOpts RepositoryOptsOutput `pulumi:"repositoryOpts"`
	// When upgrading, reset the values to the ones built into the chart.
	ResetValues pulumi.BoolPtrOutput `pulumi:"resetValues"`
	// Names of resources created by the release grouped by "kind/version".
	ResourceNames pulumi.StringArrayMapOutput `pulumi:"resourceNames"`
	// When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored
	ReuseValues pulumi.BoolPtrOutput `pulumi:"reuseValues"`
	// By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
	SkipAwait pulumi.BoolPtrOutput `pulumi:"skipAwait"`
	// If set, no CRDs will be installed. By default, CRDs are installed if not already present.
	SkipCrds pulumi.BoolPtrOutput `pulumi:"skipCrds"`
	// Status of the deployed release.
	Status ReleaseStatusOutput `pulumi:"status"`
	// Time in seconds to wait for any individual kubernetes operation.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// List of assets (raw yaml files). Content is read and merged with values. Not yet supported.
	ValueYamlFiles pulumi.AssetOrArchiveArrayOutput `pulumi:"valueYamlFiles"`
	// Custom values set for the release.
	Values pulumi.MapOutput `pulumi:"values"`
	// Verify the package before installing it.
	Verify pulumi.BoolPtrOutput `pulumi:"verify"`
	// Specify the exact chart version to install. If this is not specified, the latest version is installed.
	Version pulumi.StringPtrOutput `pulumi:"version"`
	// Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled.
	WaitForJobs pulumi.BoolPtrOutput `pulumi:"waitForJobs"`
}

A Release is an instance of a chart running in a Kubernetes cluster. A Chart is a Helm package. It contains all the resource definitions necessary to run an application, tool, or service inside a Kubernetes cluster. Note - Helm Release is currently in BETA and may change. Use in production environment is discouraged.

func GetRelease added in v3.7.0

func GetRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReleaseState, opts ...pulumi.ResourceOption) (*Release, error)

GetRelease gets an existing Release resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRelease added in v3.7.0

func NewRelease(ctx *pulumi.Context,
	name string, args *ReleaseArgs, opts ...pulumi.ResourceOption) (*Release, error)

NewRelease registers a new resource with the given unique name, arguments, and options.

func (*Release) ElementType added in v3.7.0

func (*Release) ElementType() reflect.Type

func (*Release) ToReleaseOutput added in v3.7.0

func (i *Release) ToReleaseOutput() ReleaseOutput

func (*Release) ToReleaseOutputWithContext added in v3.7.0

func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

func (*Release) ToReleasePtrOutput added in v3.7.0

func (i *Release) ToReleasePtrOutput() ReleasePtrOutput

func (*Release) ToReleasePtrOutputWithContext added in v3.7.0

func (i *Release) ToReleasePtrOutputWithContext(ctx context.Context) ReleasePtrOutput

type ReleaseArgs added in v3.7.0

type ReleaseArgs struct {
	// If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used.
	Atomic pulumi.BoolPtrInput
	// Chart name to be installed. A path may be used.
	Chart pulumi.StringInput
	// Allow deletion of new resources created in this upgrade when upgrade fails.
	CleanupOnFail pulumi.BoolPtrInput
	Compat        pulumi.StringPtrInput
	// Create the namespace if it does not exist.
	CreateNamespace pulumi.BoolPtrInput
	// Run helm dependency update before installing the chart.
	DependencyUpdate pulumi.BoolPtrInput
	// Add a custom description
	Description pulumi.StringPtrInput
	// Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
	Devel pulumi.BoolPtrInput
	// Prevent CRD hooks from, running, but run other hooks.  See helm install --no-crd-hook
	DisableCRDHooks pulumi.BoolPtrInput
	// If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema
	DisableOpenapiValidation pulumi.BoolPtrInput
	// Prevent hooks from running.
	DisableWebhooks pulumi.BoolPtrInput
	// Force resource update through delete/recreate if needed.
	ForceUpdate pulumi.BoolPtrInput
	// Location of public keys used for verification. Used only if `verify` is true
	Keyring pulumi.StringPtrInput
	// Run helm lint when planning.
	Lint pulumi.BoolPtrInput
	// The rendered manifests as JSON. Not yet supported.
	Manifest pulumi.MapInput
	// Limit the maximum number of revisions saved per release. Use 0 for no limit.
	MaxHistory pulumi.IntPtrInput
	// Release name.
	Name pulumi.StringPtrInput
	// Namespace to install the release into.
	Namespace pulumi.StringPtrInput
	// Postrender command to run.
	Postrender pulumi.StringPtrInput
	// Perform pods restart during upgrade/rollback.
	RecreatePods pulumi.BoolPtrInput
	// If set, render subchart notes along with the parent.
	RenderSubchartNotes pulumi.BoolPtrInput
	// Re-use the given name, even if that name is already used. This is unsafe in production
	Replace pulumi.BoolPtrInput
	// Specification defining the Helm chart repository to use.
	RepositoryOpts RepositoryOptsInput
	// When upgrading, reset the values to the ones built into the chart.
	ResetValues pulumi.BoolPtrInput
	// Names of resources created by the release grouped by "kind/version".
	ResourceNames pulumi.StringArrayMapInput
	// When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored
	ReuseValues pulumi.BoolPtrInput
	// By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
	SkipAwait pulumi.BoolPtrInput
	// If set, no CRDs will be installed. By default, CRDs are installed if not already present.
	SkipCrds pulumi.BoolPtrInput
	// Time in seconds to wait for any individual kubernetes operation.
	Timeout pulumi.IntPtrInput
	// List of assets (raw yaml files). Content is read and merged with values. Not yet supported.
	ValueYamlFiles pulumi.AssetOrArchiveArrayInput
	// Custom values set for the release.
	Values pulumi.MapInput
	// Verify the package before installing it.
	Verify pulumi.BoolPtrInput
	// Specify the exact chart version to install. If this is not specified, the latest version is installed.
	Version pulumi.StringPtrInput
	// Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled.
	WaitForJobs pulumi.BoolPtrInput
}

The set of arguments for constructing a Release resource.

func (ReleaseArgs) ElementType added in v3.7.0

func (ReleaseArgs) ElementType() reflect.Type

type ReleaseArray added in v3.7.0

type ReleaseArray []ReleaseInput

func (ReleaseArray) ElementType added in v3.7.0

func (ReleaseArray) ElementType() reflect.Type

func (ReleaseArray) ToReleaseArrayOutput added in v3.7.0

func (i ReleaseArray) ToReleaseArrayOutput() ReleaseArrayOutput

func (ReleaseArray) ToReleaseArrayOutputWithContext added in v3.7.0

func (i ReleaseArray) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput

type ReleaseArrayInput added in v3.7.0

type ReleaseArrayInput interface {
	pulumi.Input

	ToReleaseArrayOutput() ReleaseArrayOutput
	ToReleaseArrayOutputWithContext(context.Context) ReleaseArrayOutput
}

ReleaseArrayInput is an input type that accepts ReleaseArray and ReleaseArrayOutput values. You can construct a concrete instance of `ReleaseArrayInput` via:

ReleaseArray{ ReleaseArgs{...} }

type ReleaseArrayOutput added in v3.7.0

type ReleaseArrayOutput struct{ *pulumi.OutputState }

func (ReleaseArrayOutput) ElementType added in v3.7.0

func (ReleaseArrayOutput) ElementType() reflect.Type

func (ReleaseArrayOutput) Index added in v3.7.0

func (ReleaseArrayOutput) ToReleaseArrayOutput added in v3.7.0

func (o ReleaseArrayOutput) ToReleaseArrayOutput() ReleaseArrayOutput

func (ReleaseArrayOutput) ToReleaseArrayOutputWithContext added in v3.7.0

func (o ReleaseArrayOutput) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput

type ReleaseInput added in v3.7.0

type ReleaseInput interface {
	pulumi.Input

	ToReleaseOutput() ReleaseOutput
	ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
}

type ReleaseMap added in v3.7.0

type ReleaseMap map[string]ReleaseInput

func (ReleaseMap) ElementType added in v3.7.0

func (ReleaseMap) ElementType() reflect.Type

func (ReleaseMap) ToReleaseMapOutput added in v3.7.0

func (i ReleaseMap) ToReleaseMapOutput() ReleaseMapOutput

func (ReleaseMap) ToReleaseMapOutputWithContext added in v3.7.0

func (i ReleaseMap) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput

type ReleaseMapInput added in v3.7.0

type ReleaseMapInput interface {
	pulumi.Input

	ToReleaseMapOutput() ReleaseMapOutput
	ToReleaseMapOutputWithContext(context.Context) ReleaseMapOutput
}

ReleaseMapInput is an input type that accepts ReleaseMap and ReleaseMapOutput values. You can construct a concrete instance of `ReleaseMapInput` via:

ReleaseMap{ "key": ReleaseArgs{...} }

type ReleaseMapOutput added in v3.7.0

type ReleaseMapOutput struct{ *pulumi.OutputState }

func (ReleaseMapOutput) ElementType added in v3.7.0

func (ReleaseMapOutput) ElementType() reflect.Type

func (ReleaseMapOutput) MapIndex added in v3.7.0

func (ReleaseMapOutput) ToReleaseMapOutput added in v3.7.0

func (o ReleaseMapOutput) ToReleaseMapOutput() ReleaseMapOutput

func (ReleaseMapOutput) ToReleaseMapOutputWithContext added in v3.7.0

func (o ReleaseMapOutput) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput

type ReleaseOutput added in v3.7.0

type ReleaseOutput struct{ *pulumi.OutputState }

func (ReleaseOutput) ElementType added in v3.7.0

func (ReleaseOutput) ElementType() reflect.Type

func (ReleaseOutput) ToReleaseOutput added in v3.7.0

func (o ReleaseOutput) ToReleaseOutput() ReleaseOutput

func (ReleaseOutput) ToReleaseOutputWithContext added in v3.7.0

func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

func (ReleaseOutput) ToReleasePtrOutput added in v3.7.0

func (o ReleaseOutput) ToReleasePtrOutput() ReleasePtrOutput

func (ReleaseOutput) ToReleasePtrOutputWithContext added in v3.7.0

func (o ReleaseOutput) ToReleasePtrOutputWithContext(ctx context.Context) ReleasePtrOutput

type ReleasePtrInput added in v3.7.0

type ReleasePtrInput interface {
	pulumi.Input

	ToReleasePtrOutput() ReleasePtrOutput
	ToReleasePtrOutputWithContext(ctx context.Context) ReleasePtrOutput
}

type ReleasePtrOutput added in v3.7.0

type ReleasePtrOutput struct{ *pulumi.OutputState }

func (ReleasePtrOutput) Elem added in v3.7.2

func (ReleasePtrOutput) ElementType added in v3.7.0

func (ReleasePtrOutput) ElementType() reflect.Type

func (ReleasePtrOutput) ToReleasePtrOutput added in v3.7.0

func (o ReleasePtrOutput) ToReleasePtrOutput() ReleasePtrOutput

func (ReleasePtrOutput) ToReleasePtrOutputWithContext added in v3.7.0

func (o ReleasePtrOutput) ToReleasePtrOutputWithContext(ctx context.Context) ReleasePtrOutput

type ReleaseState added in v3.7.0

type ReleaseState struct {
}

func (ReleaseState) ElementType added in v3.7.0

func (ReleaseState) ElementType() reflect.Type

type ReleaseStatus added in v3.7.0

type ReleaseStatus struct {
	// The version number of the application being deployed.
	AppVersion *string `pulumi:"appVersion"`
	// The name of the chart.
	Chart *string `pulumi:"chart"`
	// Name is the name of the release.
	Name *string `pulumi:"name"`
	// Namespace is the kubernetes namespace of the release.
	Namespace *string `pulumi:"namespace"`
	// Version is an int32 which represents the version of the release.
	Revision *int `pulumi:"revision"`
	// Status of the release.
	Status string `pulumi:"status"`
	// A SemVer 2 conformant version string of the chart.
	Version *string `pulumi:"version"`
}

type ReleaseStatusArgs added in v3.7.0

type ReleaseStatusArgs struct {
	// The version number of the application being deployed.
	AppVersion pulumi.StringPtrInput `pulumi:"appVersion"`
	// The name of the chart.
	Chart pulumi.StringPtrInput `pulumi:"chart"`
	// Name is the name of the release.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Namespace is the kubernetes namespace of the release.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Version is an int32 which represents the version of the release.
	Revision pulumi.IntPtrInput `pulumi:"revision"`
	// Status of the release.
	Status pulumi.StringInput `pulumi:"status"`
	// A SemVer 2 conformant version string of the chart.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ReleaseStatusArgs) ElementType added in v3.7.0

func (ReleaseStatusArgs) ElementType() reflect.Type

func (ReleaseStatusArgs) ToReleaseStatusOutput added in v3.7.0

func (i ReleaseStatusArgs) ToReleaseStatusOutput() ReleaseStatusOutput

func (ReleaseStatusArgs) ToReleaseStatusOutputWithContext added in v3.7.0

func (i ReleaseStatusArgs) ToReleaseStatusOutputWithContext(ctx context.Context) ReleaseStatusOutput

func (ReleaseStatusArgs) ToReleaseStatusPtrOutput added in v3.7.0

func (i ReleaseStatusArgs) ToReleaseStatusPtrOutput() ReleaseStatusPtrOutput

func (ReleaseStatusArgs) ToReleaseStatusPtrOutputWithContext added in v3.7.0

func (i ReleaseStatusArgs) ToReleaseStatusPtrOutputWithContext(ctx context.Context) ReleaseStatusPtrOutput

type ReleaseStatusInput added in v3.7.0

type ReleaseStatusInput interface {
	pulumi.Input

	ToReleaseStatusOutput() ReleaseStatusOutput
	ToReleaseStatusOutputWithContext(context.Context) ReleaseStatusOutput
}

ReleaseStatusInput is an input type that accepts ReleaseStatusArgs and ReleaseStatusOutput values. You can construct a concrete instance of `ReleaseStatusInput` via:

ReleaseStatusArgs{...}

type ReleaseStatusOutput added in v3.7.0

type ReleaseStatusOutput struct{ *pulumi.OutputState }

func (ReleaseStatusOutput) AppVersion added in v3.7.0

The version number of the application being deployed.

func (ReleaseStatusOutput) Chart added in v3.7.0

The name of the chart.

func (ReleaseStatusOutput) ElementType added in v3.7.0

func (ReleaseStatusOutput) ElementType() reflect.Type

func (ReleaseStatusOutput) Name added in v3.7.0

Name is the name of the release.

func (ReleaseStatusOutput) Namespace added in v3.7.0

Namespace is the kubernetes namespace of the release.

func (ReleaseStatusOutput) Revision added in v3.7.0

Version is an int32 which represents the version of the release.

func (ReleaseStatusOutput) Status added in v3.7.0

Status of the release.

func (ReleaseStatusOutput) ToReleaseStatusOutput added in v3.7.0

func (o ReleaseStatusOutput) ToReleaseStatusOutput() ReleaseStatusOutput

func (ReleaseStatusOutput) ToReleaseStatusOutputWithContext added in v3.7.0

func (o ReleaseStatusOutput) ToReleaseStatusOutputWithContext(ctx context.Context) ReleaseStatusOutput

func (ReleaseStatusOutput) ToReleaseStatusPtrOutput added in v3.7.0

func (o ReleaseStatusOutput) ToReleaseStatusPtrOutput() ReleaseStatusPtrOutput

func (ReleaseStatusOutput) ToReleaseStatusPtrOutputWithContext added in v3.7.0

func (o ReleaseStatusOutput) ToReleaseStatusPtrOutputWithContext(ctx context.Context) ReleaseStatusPtrOutput

func (ReleaseStatusOutput) Version added in v3.7.0

A SemVer 2 conformant version string of the chart.

type ReleaseStatusPtrInput added in v3.7.0

type ReleaseStatusPtrInput interface {
	pulumi.Input

	ToReleaseStatusPtrOutput() ReleaseStatusPtrOutput
	ToReleaseStatusPtrOutputWithContext(context.Context) ReleaseStatusPtrOutput
}

ReleaseStatusPtrInput is an input type that accepts ReleaseStatusArgs, ReleaseStatusPtr and ReleaseStatusPtrOutput values. You can construct a concrete instance of `ReleaseStatusPtrInput` via:

        ReleaseStatusArgs{...}

or:

        nil

func ReleaseStatusPtr added in v3.7.0

func ReleaseStatusPtr(v *ReleaseStatusArgs) ReleaseStatusPtrInput

type ReleaseStatusPtrOutput added in v3.7.0

type ReleaseStatusPtrOutput struct{ *pulumi.OutputState }

func (ReleaseStatusPtrOutput) AppVersion added in v3.7.0

The version number of the application being deployed.

func (ReleaseStatusPtrOutput) Chart added in v3.7.0

The name of the chart.

func (ReleaseStatusPtrOutput) Elem added in v3.7.0

func (ReleaseStatusPtrOutput) ElementType added in v3.7.0

func (ReleaseStatusPtrOutput) ElementType() reflect.Type

func (ReleaseStatusPtrOutput) Name added in v3.7.0

Name is the name of the release.

func (ReleaseStatusPtrOutput) Namespace added in v3.7.0

Namespace is the kubernetes namespace of the release.

func (ReleaseStatusPtrOutput) Revision added in v3.7.0

Version is an int32 which represents the version of the release.

func (ReleaseStatusPtrOutput) Status added in v3.7.0

Status of the release.

func (ReleaseStatusPtrOutput) ToReleaseStatusPtrOutput added in v3.7.0

func (o ReleaseStatusPtrOutput) ToReleaseStatusPtrOutput() ReleaseStatusPtrOutput

func (ReleaseStatusPtrOutput) ToReleaseStatusPtrOutputWithContext added in v3.7.0

func (o ReleaseStatusPtrOutput) ToReleaseStatusPtrOutputWithContext(ctx context.Context) ReleaseStatusPtrOutput

func (ReleaseStatusPtrOutput) Version added in v3.7.0

A SemVer 2 conformant version string of the chart.

type RepositoryOpts added in v3.7.0

type RepositoryOpts struct {
	// The Repository's CA File
	CaFile *string `pulumi:"caFile"`
	// The repository's cert file
	CertFile *string `pulumi:"certFile"`
	// The repository's cert key file
	KeyFile *string `pulumi:"keyFile"`
	// Password for HTTP basic authentication
	Password *string `pulumi:"password"`
	// Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
	Repo *string `pulumi:"repo"`
	// Username for HTTP basic authentication
	Username *string `pulumi:"username"`
}

Specification defining the Helm chart repository to use.

type RepositoryOptsArgs added in v3.7.0

type RepositoryOptsArgs struct {
	// The Repository's CA File
	CaFile pulumi.StringPtrInput `pulumi:"caFile"`
	// The repository's cert file
	CertFile pulumi.StringPtrInput `pulumi:"certFile"`
	// The repository's cert key file
	KeyFile pulumi.StringPtrInput `pulumi:"keyFile"`
	// Password for HTTP basic authentication
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
	// Username for HTTP basic authentication
	Username pulumi.StringPtrInput `pulumi:"username"`
}

Specification defining the Helm chart repository to use.

func (RepositoryOptsArgs) ElementType added in v3.7.0

func (RepositoryOptsArgs) ElementType() reflect.Type

func (RepositoryOptsArgs) ToRepositoryOptsOutput added in v3.7.0

func (i RepositoryOptsArgs) ToRepositoryOptsOutput() RepositoryOptsOutput

func (RepositoryOptsArgs) ToRepositoryOptsOutputWithContext added in v3.7.0

func (i RepositoryOptsArgs) ToRepositoryOptsOutputWithContext(ctx context.Context) RepositoryOptsOutput

func (RepositoryOptsArgs) ToRepositoryOptsPtrOutput added in v3.7.0

func (i RepositoryOptsArgs) ToRepositoryOptsPtrOutput() RepositoryOptsPtrOutput

func (RepositoryOptsArgs) ToRepositoryOptsPtrOutputWithContext added in v3.7.0

func (i RepositoryOptsArgs) ToRepositoryOptsPtrOutputWithContext(ctx context.Context) RepositoryOptsPtrOutput

type RepositoryOptsInput added in v3.7.0

type RepositoryOptsInput interface {
	pulumi.Input

	ToRepositoryOptsOutput() RepositoryOptsOutput
	ToRepositoryOptsOutputWithContext(context.Context) RepositoryOptsOutput
}

RepositoryOptsInput is an input type that accepts RepositoryOptsArgs and RepositoryOptsOutput values. You can construct a concrete instance of `RepositoryOptsInput` via:

RepositoryOptsArgs{...}

type RepositoryOptsOutput added in v3.7.0

type RepositoryOptsOutput struct{ *pulumi.OutputState }

Specification defining the Helm chart repository to use.

func (RepositoryOptsOutput) CaFile added in v3.7.0

The Repository's CA File

func (RepositoryOptsOutput) CertFile added in v3.7.0

The repository's cert file

func (RepositoryOptsOutput) ElementType added in v3.7.0

func (RepositoryOptsOutput) ElementType() reflect.Type

func (RepositoryOptsOutput) KeyFile added in v3.7.0

The repository's cert key file

func (RepositoryOptsOutput) Password added in v3.7.0

Password for HTTP basic authentication

func (RepositoryOptsOutput) Repo added in v3.7.0

Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.

func (RepositoryOptsOutput) ToRepositoryOptsOutput added in v3.7.0

func (o RepositoryOptsOutput) ToRepositoryOptsOutput() RepositoryOptsOutput

func (RepositoryOptsOutput) ToRepositoryOptsOutputWithContext added in v3.7.0

func (o RepositoryOptsOutput) ToRepositoryOptsOutputWithContext(ctx context.Context) RepositoryOptsOutput

func (RepositoryOptsOutput) ToRepositoryOptsPtrOutput added in v3.7.0

func (o RepositoryOptsOutput) ToRepositoryOptsPtrOutput() RepositoryOptsPtrOutput

func (RepositoryOptsOutput) ToRepositoryOptsPtrOutputWithContext added in v3.7.0

func (o RepositoryOptsOutput) ToRepositoryOptsPtrOutputWithContext(ctx context.Context) RepositoryOptsPtrOutput

func (RepositoryOptsOutput) Username added in v3.7.0

Username for HTTP basic authentication

type RepositoryOptsPtrInput added in v3.7.0

type RepositoryOptsPtrInput interface {
	pulumi.Input

	ToRepositoryOptsPtrOutput() RepositoryOptsPtrOutput
	ToRepositoryOptsPtrOutputWithContext(context.Context) RepositoryOptsPtrOutput
}

RepositoryOptsPtrInput is an input type that accepts RepositoryOptsArgs, RepositoryOptsPtr and RepositoryOptsPtrOutput values. You can construct a concrete instance of `RepositoryOptsPtrInput` via:

        RepositoryOptsArgs{...}

or:

        nil

func RepositoryOptsPtr added in v3.7.0

func RepositoryOptsPtr(v *RepositoryOptsArgs) RepositoryOptsPtrInput

type RepositoryOptsPtrOutput added in v3.7.0

type RepositoryOptsPtrOutput struct{ *pulumi.OutputState }

func (RepositoryOptsPtrOutput) CaFile added in v3.7.0

The Repository's CA File

func (RepositoryOptsPtrOutput) CertFile added in v3.7.0

The repository's cert file

func (RepositoryOptsPtrOutput) Elem added in v3.7.0

func (RepositoryOptsPtrOutput) ElementType added in v3.7.0

func (RepositoryOptsPtrOutput) ElementType() reflect.Type

func (RepositoryOptsPtrOutput) KeyFile added in v3.7.0

The repository's cert key file

func (RepositoryOptsPtrOutput) Password added in v3.7.0

Password for HTTP basic authentication

func (RepositoryOptsPtrOutput) Repo added in v3.7.0

Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.

func (RepositoryOptsPtrOutput) ToRepositoryOptsPtrOutput added in v3.7.0

func (o RepositoryOptsPtrOutput) ToRepositoryOptsPtrOutput() RepositoryOptsPtrOutput

func (RepositoryOptsPtrOutput) ToRepositoryOptsPtrOutputWithContext added in v3.7.0

func (o RepositoryOptsPtrOutput) ToRepositoryOptsPtrOutputWithContext(ctx context.Context) RepositoryOptsPtrOutput

func (RepositoryOptsPtrOutput) Username added in v3.7.0

Username for HTTP basic authentication

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL