# KubernetesHelmChartResource Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [KubernetesHelmChartResource](/reference/api/csharp/aspire.hosting.kubernetes/kuberneteshelmchartresource.md)
- Kind: `Properties`
- Members: `5`

Represents an external Helm chart to be installed into a Kubernetes environment. This resource models a Helm chart from a repository (OCI or HTTP) that will be installed as a pipeline step after the main application Helm chart is deployed.

## ChartReference

- Name: `ChartReference`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/KubernetesHelmChartResource.cs#L78)

Gets the Helm chart reference. This can be an OCI registry URL (e.g., `oci://quay.io/jetstack/charts/cert-manager`) or a chart name from an added repository.

```csharp
public string ChartReference { get; }
```

## ChartVersion

- Name: `ChartVersion`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/KubernetesHelmChartResource.cs#L83)

Gets the chart version to install.

```csharp
public string ChartVersion { get; }
```

## Namespace

- Name: `Namespace`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/KubernetesHelmChartResource.cs)

Gets or sets the Kubernetes namespace to install the chart into. Defaults to the chart resource name if not specified.

```csharp
public string? Namespace { get; set; }
```

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [KubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesenvironmentresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/KubernetesHelmChartResource.cs#L71)

Gets the parent Kubernetes environment resource.

```csharp
public KubernetesEnvironmentResource Parent { get; }
```

## ReleaseName

- Name: `ReleaseName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/KubernetesHelmChartResource.cs)

Gets or sets the Helm release name. Defaults to the resource name.

```csharp
public string? ReleaseName { get; set; }
```
