Skip to content
DocsTry Aspire
DocsTry

withKindClusterReference

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.736
interface ContainerResource {
// ... omitted for brevity
withKindClusterReference(kind: KindClusterResource): IResourceWithEnvironment;
}

Signature

methodwithKindClusterReferencebuilder
Configures a non-container resource to reference the Kind cluster by injecting kubeconfig environment variables.
withKindClusterReference(kind: KindClusterResource): IResourceWithEnvironment
kindKindClusterResource
IResourceWithEnvironment

Applies to

This method applies to the following types: