Feedback

Chat Icon

GitOps the Hard Way, with Argo CD

Build Real GitOps Pipelines From Empty Clusters to Automated Deploys

Argo CD With Helm: Charts, Values, and Versioned Releases
80%

Creating a Helm Package

helm package bundles a chart into a versioned .tgz archive. This is how charts get published to a Helm repository for distribution. Our Application sources the chart straight from the Git directory, so we do not need a package to deploy, but it is worth knowing the command and keeping the archives out of Git.

Build the package:

cd $HOME/todo/app/manifests/helm/todo && \
  helm package .

helm package reads name and version from Chart.yaml and names the archive -.tgz.

Example: With version: 0.1.0, the output is todo-0.1.0.tgz.

These archives are build artifacts, not source. They do not belong in the repository. Ignore them:

cat <> $HOME/todo/app/.gitignore
*.tgz
EOF

GitOps the Hard Way, with Argo CD

Build Real GitOps Pipelines From Empty Clusters to Automated Deploys

Enroll now to unlock all content and receive all future updates for free.