> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ankra helm

> Manage Helm registries and credentials

## ankra helm

Commands to manage Helm chart registries and registry credentials.

## ankra helm credentials

Manage Helm registry credentials

## ankra helm credentials create

Create a Helm registry credential with username and password.
The password will be prompted interactively.

Example:
ankra helm credentials create --name my-cred --username user

```bash theme={null}
ankra helm credentials create [flags]
```

**Flags**

| Flag         | Default | Description                  |
| ------------ | ------- | ---------------------------- |
| `--name`     |         | Credential name (required)   |
| `--username` |         | Registry username (required) |

## ankra helm credentials delete

Delete a Helm registry credential

```bash theme={null}
ankra helm credentials delete <name> [flags]
```

**Flags**

| Flag            | Default | Description              |
| --------------- | ------- | ------------------------ |
| `-f`, `--force` | `false` | Skip confirmation prompt |

## ankra helm credentials get

Get details of a Helm registry credential

```bash theme={null}
ankra helm credentials get <name>
```

## ankra helm credentials list

List Helm registry credentials

```bash theme={null}
ankra helm credentials list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra helm credentials update

Update a Helm registry credential's username and password.
The password will be prompted interactively.

Example:
ankra helm credentials update my-cred --username user

```bash theme={null}
ankra helm credentials update <name> [flags]
```

**Flags**

| Flag         | Default | Description                  |
| ------------ | ------- | ---------------------------- |
| `--username` |         | Registry username (required) |

## ankra helm registries

Manage Helm chart registries

## ankra helm registries create

Create a Helm chart registry from a spec file (-f, JSON or YAML) or
directly from --name and --url.

In a spec file the registry must be nested under exactly one of
"helm\_oci\_registry" or "helm\_http\_registry":

\{"spec": \{"helm\_oci\_registry": \{"name": "my-charts", "url": "oci://ghcr.io/acme/charts"}}}
\{"spec": \{"helm\_http\_registry": \{"name": "my-charts", "url": "[https://charts.example.com"\&#125;\&#125;\&#125](https://charts.example.com"\&#125;\&#125;\&#125);

A flat \{"name": ..., "url": ...} file is accepted and nested automatically,
inferring the registry type from the URL scheme: oci:// creates an OCI
registry, http\:// or https\:// an HTTP chart repository. The flag form uses
the same inference.

Examples:
ankra helm registries create -f registry-spec.json
ankra helm registries create -f registry-spec.yaml
ankra helm registries create --name my-charts --url oci://ghcr.io/acme/charts
ankra helm registries create --name my-charts --url [https://charts.example.com](https://charts.example.com) \
\--credential-name my-cred --exclude-charts legacy-chart

```bash theme={null}
ankra helm registries create [flags]
```

**Flags**

| Flag                | Default | Description                                                                                |
| ------------------- | ------- | ------------------------------------------------------------------------------------------ |
| `--credential-name` |         | Name of an existing Helm registry credential for private registries                        |
| `--exclude-charts`  | `[]`    | Chart name to exclude from indexing (repeatable)                                           |
| `-f`, `--file`      |         | Path to a registry spec file, JSON or YAML                                                 |
| `--name`            |         | Registry name (with --url; alternative to --file)                                          |
| `--url`             |         | Registry URL: oci:// for OCI registries, http\:// or https\:// for HTTP chart repositories |

## ankra helm registries delete

Delete a Helm chart registry

```bash theme={null}
ankra helm registries delete <name> [flags]
```

**Flags**

| Flag            | Default | Description              |
| --------------- | ------- | ------------------------ |
| `-f`, `--force` | `false` | Skip confirmation prompt |

## ankra helm registries get

Get details of a Helm chart registry.

The registry's chart listing is paginated; use --page/--page-size to select
which chart page the response (and -o json/yaml output) carries.

Examples:
ankra helm registries get bitnami
ankra helm registries get bitnami --page 2 --page-size 100 -o json

```bash theme={null}
ankra helm registries get <name> [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |
| `--page`         | `1`     | Charts page number                                    |
| `--page-size`    | `20`    | Number of charts per page (max 100)                   |

## ankra helm registries list

List Helm chart registries.

Results are paginated (20 per page by default). Use --search to filter
by name, --page/--page-size to navigate, or --all to fetch every page.

Examples:
ankra helm registries list --search bitnami
ankra helm registries list --page 2 --page-size 100
ankra helm registries list --all
ankra helm registries list --sort-by chart\_count --sort-order desc

```bash theme={null}
ankra helm registries list [flags]
```

**Flags**

| Flag             | Default | Description                                                                                   |
| ---------------- | ------- | --------------------------------------------------------------------------------------------- |
| `--all`          | `false` | Fetch every page and list all registries (mutually exclusive with --page)                     |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable)                                         |
| `--page`         | `1`     | Page number                                                                                   |
| `--page-size`    | `20`    | Number of registries per page (max 100)                                                       |
| `--search`       |         | Filter registries by name (case-insensitive substring)                                        |
| `--sort-by`      |         | Sort column: name, url, created\_at, updated\_at, chart\_count, last\_indexed\_at, is\_global |
| `--sort-order`   |         | Sort order: asc or desc                                                                       |

## ankra helm registries sync

Trigger a manual sync of a Helm chart registry

```bash theme={null}
ankra helm registries sync <name>
```

## ankra helm registries sync-jobs

List sync jobs for a Helm chart registry

```bash theme={null}
ankra helm registries sync-jobs <name> [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |
| `--page`         | `1`     | Page number                                           |
| `--page-size`    | `25`    | Number of jobs per page                               |

## ankra helm registries update

Update a Helm chart registry

```bash theme={null}
ankra helm registries update <name> [flags]
```

**Flags**

| Flag                  | Default | Description                                           |
| --------------------- | ------- | ----------------------------------------------------- |
| `--read-job-interval` | `0`     | Seconds between automatic background syncs (required) |
