Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithHelmImage

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
func (K3sClusterResource) 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().

Applies to

This method applies to the following types: