Build & delivery → Helm registries takes HTTP chart repositories, and its Credential field picks the login. OCI registries (Harbor, Google Artifact Registry, or another OCI registry) are connected under Build & delivery → Registries instead. Its Admin credential step stores a new login there, or picks One already stored, which needs a role with
credentials.reveal. See Registries.Before you start
- A role with
credentials.write(the built-inownerandadminroles have it). See Credentials. - A login for the registry with read access. The provider sections below say how to make one.
Create a Registry Credential
- Portal
- CLI
- Go to Integrations & alerts → Credentials, click Add credential, and under Git, registries and keys choose Helm registry. The Connect a Helm registry form opens.
- Enter a Name (a unique lowercase name, such as
production-charts), the Username, and the Password or access token. - Click Save registry login. The credentials list opens with the new credential, shown as Helm registry.
Provider-Specific Setup
GitHub Container Registry (GHCR)
GitHub Container Registry (GHCR)
Create a Personal Access Token:
- Go to GitHub → Settings → Developer settings → Personal access tokens
- Generate a token with
read:packagesscope - For pushing charts, also add
write:packages
- Username: your GitHub username
- Password: the Personal Access Token
Google Artifact Registry
Google Artifact Registry
Create a Service Account:
- Go to Google Cloud Console → IAM → Service Accounts
- Create a new service account
- Grant “Artifact Registry Reader” role
- Create and download a JSON key
- Username:
_json_key - Password: the entire JSON key file contents
Amazon ECR
Amazon ECR
Get an auth token:Credential values:
- Username:
AWS - Password: the token from the command above
Azure Container Registry
Azure Container Registry
Create a Service Principal:Credential values:
- Username: the
appIdfrom the output - Password: the
passwordfrom the output
Docker Hub
Docker Hub
Create an Access Token:
- Go to Docker Hub → Account Settings → Security
- Create a new Access Token with Read permissions
- Username: your Docker Hub username
- Password: the Access Token (not your password)
Harbor
Harbor
Use a robot account (recommended):
- Go to your Harbor project → Robot Accounts
- Create a new robot account with pull permissions
- Username:
robot$project+name(the robot account name) - Password: the robot account secret
JFrog Artifactory
JFrog Artifactory
Create an API Key or Access Token:
- Go to User Profile → Edit Profile
- Generate an API Key or create an Access Token
- Username: your Artifactory username
- Password: the API Key or Access Token
Use the credential
- Go to Build & delivery → Helm registries and click Add registry.
- Enter the Name and the Address of the HTTP chart repository, starting with
https://. Put the login in the credential, not in the address. - Under Credential, pick the registry credential. None, a public registry is for a registry that needs no login.
- Click Add registry. Ankra reads the registry right away; its row under Registries shows the State of the read and the Charts it found.
Change the login
- Portal
- CLI
Open the credential and click Settings & access. Under Registry sign-in, enter the Username and the New password or access token, then click Save registry sign-in. You see Registry sign-in updated.On Build & delivery → Helm registries, the credential’s row under Registry credentials has the same action as Change login…: enter both values again and click Save login. Registries that sign in with it use the new login from their next read.
Delete the credential
Delete it from the credential’s Settings & access tab (see Delete a credential), from Delete… on its row under Registry credentials, or withankra helm credentials delete production-charts.