# HelmChartNameAnnotation

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Kubernetes`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/Annotations/HelmChartNameAnnotation.cs)
- Implements: `IResourceAnnotation`

An annotation placed on a [KubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesenvironmentresource.md) that specifies the Helm chart name written to the generated `Chart.yaml`.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes;

public sealed class HelmChartNameAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Constructors

- [HelmChartNameAnnotation(ReferenceExpression)](/reference/api/csharp/aspire.hosting.kubernetes/helmchartnameannotation/constructors.md#constructor-referenceexpression) -- An annotation placed on a [KubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesenvironmentresource.md) that specifies the Helm chart name written to the generated `Chart.yaml`.

## Properties

- [Name](/reference/api/csharp/aspire.hosting.kubernetes/helmchartnameannotation/properties.md#name) : `ReferenceExpression` `get` -- Gets the Helm chart name as a `ApplicationModel.ReferenceExpression`.
