Feedback

Chat Icon

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Creating, Developing, and Testing a Helm Chart
50%

Customizing the Chart and Pushing the Image

The Chart.yaml file contains metadata about the chart. Let's update it to reflect our application version (appVersion: 1.0.0) and chart version (version: 0.1.0):

cat < $HOME/todo-chart/Chart.yaml
apiVersion: v2
name: todo-chart
description: A Helm chart for deploying the Todo App application
type: application
version: 0.1.0
appVersion: "1.0.0"
EOF

Since the image used in the deployment.yaml template is set to {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}, our tag will default to 1.0.0 unless we override it in the values.yaml file.

We will not override it for now, but we need to push our Docker image to Harbor with the correct tag (1.0.0). Since Harbor uses a self-signed certificate, we also need to add its CA certificate to the host machine where Docker is running (the workspace server).

# Tag the Docker image with the Harbor registry URL
docker tag todo-app:latest \
  $MASTER_PUBLIC_IP

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Enroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!

Unlock now  $15.99$11.99

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More