Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

KindHelmChartResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
type KindHelmChartResource interface {
Resource
ResourceWithParent
ResourceWithWaitSupport
}

Methods

methodWithChartVersionbuilder
Sets the chart version (maps to helm install --version).
WithChartVersion(version string) KindHelmChartResource
versionstringThe chart version.
KindHelmChartResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

methodWithCrdWaitRetrybuilder
Retries Helm installs that race newly-created CRDs which have not reached the Established condition yet.
WithCrdWaitRetry(options ...*WithCrdWaitRetryOptions) KindHelmChartResource
options...*WithCrdWaitRetryOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithCrdWaitRetryOptions argument.

MaxAttempts*float64The total number of install attempts. Must be 2 or greater.
Backoff*float64The initial delay before retrying. Later retries back off exponentially. When null, Kind uses a 5 second initial backoff.
CrdWaitTimeout*float64The timeout used while waiting for newly discovered CRDs to become Established between retry attempts. When null, Kind uses a 5 minute timeout.
KindHelmChartResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

methodWithHelmStringValuebuilder
Sets a Helm value while preserving it as a string (maps to helm install --set-string key=value).
WithHelmStringValue(
key string,
value string,
) KindHelmChartResource
keystringThe Helm value key.
valuestringThe Helm value.
KindHelmChartResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

methodWithHelmValuebuilder
Sets a Helm value (maps to helm install --set key=value).
WithHelmValue(
key string,
value string,
) KindHelmChartResource
keystringThe Helm value key.
valuestringThe Helm value.
KindHelmChartResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

methodWithHelmValuesFilebuilder
Adds a values file (maps to helm install -f path).
WithHelmValuesFile(path string) KindHelmChartResource
pathstringThe path to the values file.
KindHelmChartResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().