KindHelmChartResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
interface KindHelmChartResource
extends IResource,
IResourceWithParent,
KindClusterResource]],
IResourceWithWaitSupport {
withChartVersion(version: string): KindHelmChartResource;
withCrdWaitRetry(
maxAttempts?: number,
backoff?: timespan,
crdWaitTimeout?: timespan): KindHelmChartResource;
withHelmStringValue(
key: string,
value: string): KindHelmChartResource;
withHelmValue(
key: string,
value: string): KindHelmChartResource;
withHelmValuesFile(path: string): KindHelmChartResource;
}

Methods

methodwithChartVersionbuilder
Sets the chart version (maps to `helm install --version`).
withChartVersion(version: string): KindHelmChartResource
versionstringThe chart version.
KindHelmChartResource
methodwithCrdWaitRetrybuilder
Retries Helm installs that race newly-created CRDs which have not reached the `Established` condition yet.
withCrdWaitRetry(
maxAttempts?: number,
backoff?: timespan,
crdWaitTimeout?: timespan): KindHelmChartResource
maxAttemptsnumberoptional= 3The total number of install attempts. Must be 2 or greater.
backofftimespanoptionalThe initial delay before retrying. Later retries back off exponentially. When `null`, Kind uses a 5 second initial backoff.
crdWaitTimeouttimespanoptionalThe timeout used while waiting for newly discovered CRDs to become `Established` between retry attempts. When `null`, Kind uses a 5 minute timeout.
KindHelmChartResource
methodwithHelmStringValuebuilder
Sets a Helm value while preserving it as a string (maps to `helm install --set-string key=value`).
withHelmStringValue(
key: string,
value: string): KindHelmChartResource
keystringThe Helm value key.
valuestringThe Helm value.
KindHelmChartResource
methodwithHelmValuebuilder
Sets a Helm value (maps to `helm install --set key=value`).
withHelmValue(
key: string,
value: string): KindHelmChartResource
keystringThe Helm value key.
valuestringThe Helm value.
KindHelmChartResource
methodwithHelmValuesFilebuilder
Adds a values file (maps to `helm install -f path`).
withHelmValuesFile(path: string): KindHelmChartResource
pathstringThe path to the values file.
KindHelmChartResource