Publish Helm Charts
Publish helm chart to ECR
This article assumes that you have helm chart for your application.
Publishing a Helm package to an AWS ECR (Elastic Container Registry) private repository involves several steps:
- Package the Helm chart
- Create an ECR private repository
- Authenticate Helm to your ECR private registry
- Push the Helm chart to ECR private registry
1. Package as Helm chart
To package as helm chart please refer this article.
2. Create an ECR private repository
- Login to AWS console.
- Go to ECR console.
- Switch to the preferred AWS region where you want to create the ECR private repository.
- Create a private repository,
- In the left navigation pane, click on Private registry -> Repositories.
- Click on the Create repository button.
- Fill in repository name field.
Repository name must be same as Helm chart name. You can find your Helm chart name in Chart.yaml -> name. - Click on Create repository button.
3. Authenticate Helm to your ECR private registry
Below steps require the AWS CLI to be installed and setup with required credentials. If it is not already installed, please refer to this article for installation instructions.
Below steps require the Helm CLI to be installed. If it is not already installed, please refer to this article for installation instructions.
- Login to ECR private helm registry,
Above command should output,
4. Push the Helm chart to ECR private registry
- Below command will push the packaged helm chart to your ECR private registry,
- You can optionally verify the Helm push by navigating to your ECR -> Private registry -> Repositories in your AWS console.