Adding your own registry to Ankra enables you and your team to distribbute helm-charts as add-on components that can be deployed onto a cluster as part of a stack.
Use any OCI Helm registry (GHCR, Harbor, JFrog Artifactory, AWS ECR, Google Artifact Registry, etc.) with Ankra. This guide focuses on GitHub Container Registry (GHCR) as a free and accessible example.
GitHub Container Registry (GHCR) provides a free and reliable way to host your own Helm charts.
Before you begin, ensure you have:
write:packages
permissionTo create a Personal Access Token: Go to GitHub Settings > Developer settings > Personal access tokens > Generate new token, and select the write:packages
scope.
Create a new GitHub repository to host your Helm charts:
my-helm-charts
)Generate a new Helm chart or prepare an existing one:
This creates a basic chart structure:
Edit the Chart.yaml
file to include proper metadata:
Package your Helm chart into a .tgz
file:
This creates a file like my-sparkly-app-1.0.0.tgz
.
Authenticate with GitHub Container Registry using your Personal Access Token:
Replace $GITHUB_TOKEN
with your actual token and YOUR_USERNAME
with your GitHub username.
Push your packaged chart to GHCR:
After pushing, your chart will be available at:
You can verify the upload by checking your GitHub repository’s “Packages” tab.
Now that your chart is published, add your GHCR registry to Ankra:
Adding your own registry to Ankra enables you and your team to distribbute helm-charts as add-on components that can be deployed onto a cluster as part of a stack.
Use any OCI Helm registry (GHCR, Harbor, JFrog Artifactory, AWS ECR, Google Artifact Registry, etc.) with Ankra. This guide focuses on GitHub Container Registry (GHCR) as a free and accessible example.
GitHub Container Registry (GHCR) provides a free and reliable way to host your own Helm charts.
Before you begin, ensure you have:
write:packages
permissionTo create a Personal Access Token: Go to GitHub Settings > Developer settings > Personal access tokens > Generate new token, and select the write:packages
scope.
Create a new GitHub repository to host your Helm charts:
my-helm-charts
)Generate a new Helm chart or prepare an existing one:
This creates a basic chart structure:
Edit the Chart.yaml
file to include proper metadata:
Package your Helm chart into a .tgz
file:
This creates a file like my-sparkly-app-1.0.0.tgz
.
Authenticate with GitHub Container Registry using your Personal Access Token:
Replace $GITHUB_TOKEN
with your actual token and YOUR_USERNAME
with your GitHub username.
Push your packaged chart to GHCR:
After pushing, your chart will be available at:
You can verify the upload by checking your GitHub repository’s “Packages” tab.
Now that your chart is published, add your GHCR registry to Ankra: