# KindHelmChartResource.WithCrdWaitRetry

- Module: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/go/communitytoolkit.aspire.hosting.kind.md)
- Defined on: [KindHelmChartResource](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource.md)
- Version: `13.5.1-beta.895`
- Kind: `method`

Retries Helm installs that race newly-created CRDs which have not reached the `Established` condition yet.

## Remarks

This is useful for charts that create CRDs and immediately render custom resources
that depend on those CRDs. Between attempts, Kind waits for newly observed CRDs
to report `Established`.

## Definition

```go
type KindHelmChartResource interface {
    // ... omitted for brevity
    WithCrdWaitRetry(options ...*WithCrdWaitRetryOptions) KindHelmChartResource
}
```

## Signature

```go
WithCrdWaitRetry(options ...*WithCrdWaitRetryOptions) KindHelmChartResource
```

## Parameters

- `options` (`...*WithCrdWaitRetryOptions`) -- optional settings, see [Options](#options)

## Options

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

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

## Returns

[`KindHelmChartResource`](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource.md) -- A reference to the `IResourceBuilder`.

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

## Defined on

- [KindHelmChartResource](/reference/api/go/communitytoolkit.aspire.hosting.kind/kindhelmchartresource.md) -- `handle`
