# K3sClusterResource.withHelmImage

- Module: [CommunityToolkit.Aspire.Hosting.K3s](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s.md)
- Defined on: [K3sClusterResource](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md)
- Version: `13.5.0`
- Kind: `method`

Overrides the container image used to run `helm upgrade --install` for all `HelmReleaseResource` children of this cluster.

## Definition

```typescript
interface K3sClusterResource {
  // ... omitted for brevity
  withHelmImage(
      tag?: string,
      image?: string,
      registry?: string): K3sClusterResource;
}
```

## Signature

```typescript
withHelmImage(
    tag?: string,
    image?: string,
    registry?: string): K3sClusterResource
```

## Parameters

- `tag` (`string`) `optional`
- `image` (`string`) `optional`
- `registry` (`string`) `optional`

## Returns

[K3sClusterResource](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md) `builder`

## Defined on

- [K3sClusterResource](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md) -- `handle`
