Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

K3sClusterResource.WithHelmImage

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
type K3sClusterResource interface {
// ... omitted for brevity
WithHelmImage(options ...*WithHelmImageOptions) K3sClusterResource
}

Signature

methodWithHelmImagebuilder
Overrides the container image used to run helm upgrade --install for all HelmReleaseResource children of this cluster.
WithHelmImage(options ...*WithHelmImageOptions) K3sClusterResource
options...*WithHelmImageOptionsOptional settings, described under Options.

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

Tag*stringImage tag, e.g. 3.18.0. null keeps the current value.
Image*stringImage name, e.g. alpine/helm. null keeps the current value.
Registry*stringRegistry, e.g. docker.io. null keeps the current value.
K3sClusterResource

The same builder, for chaining.

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

Defined on

This method is defined on the following type: