# KindHelmChartResource

- Module: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/go/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.5.1-beta.895`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/2c26a4c9649531d17fce3cbc4c5dea00d61d279c)

## Definition

```go
type KindHelmChartResource interface {
    Resource
    ResourceWithParent
    ResourceWithWaitSupport
}
```

## Embeds

- `Resource`
- `ResourceWithParent`
- `ResourceWithWaitSupport`

## Methods

- [WithChartVersion](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource/withchartversion.md) -- `method` -- Sets the chart version (maps to `helm install --version`).
  ```go
  WithChartVersion(version string) KindHelmChartResource
  ```
- [WithCrdWaitRetry](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource/withcrdwaitretry.md) -- `method` -- Retries Helm installs that race newly-created CRDs which have not reached the `Established` condition yet.
  ```go
  WithCrdWaitRetry(options ...*WithCrdWaitRetryOptions) KindHelmChartResource
  ```
- [WithHelmStringValue](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource/withhelmstringvalue.md) -- `method` -- Sets a Helm value while preserving it as a string (maps to `helm install --set-string key=value`).
  ```go
  WithHelmStringValue(key string, value string) KindHelmChartResource
  ```
- [WithHelmValue](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource/withhelmvalue.md) -- `method` -- Sets a Helm value (maps to `helm install --set key=value`).
  ```go
  WithHelmValue(key string, value string) KindHelmChartResource
  ```
- [WithHelmValuesFile](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource/withhelmvaluesfile.md) -- `method` -- Adds a values file (maps to `helm install -f path`).
  ```go
  WithHelmValuesFile(path string) KindHelmChartResource
  ```
