# HelmChartNameAnnotation Constructors

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [HelmChartNameAnnotation](/reference/api/csharp/aspire.hosting.kubernetes/helmchartnameannotation.md)
- Kind: `Constructors`
- Members: `1`

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`.

## HelmChartNameAnnotation(ReferenceExpression)

- Name: `Constructor(ReferenceExpression)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/Annotations/HelmChartNameAnnotation.cs#L13-L18)

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`.

```csharp
public sealed class HelmChartNameAnnotation
{
    public HelmChartNameAnnotation(
        ReferenceExpression name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`ReferenceExpression`)
  A `ApplicationModel.ReferenceExpression` representing the chart name value.
