Interview Prep/CI/CD/Build Tools and Artifact Repositories

What are Helm charts as artifacts and how are they published?

IntermediateConceptBuild Tools and Artifact Repositories
Answer

A Helm chart is a versioned package (.tgz) of Kubernetes templates. Modern practice is to push charts to an OCI registry (ECR, GHCR, Harbor, Artifactory) rather than a classic index.yaml HTTP repo.

helm lint ./chart
helm package ./chart --version 1.4.0 --app-version $GIT_SHA
helm push api-1.4.0.tgz oci://ghcr.io/my-org/charts
helm install api oci://ghcr.io/my-org/charts/api --version 1.4.0
All CI/CD questions Roadmap: CI/CD fundamentals

More on Build Tools and Artifact Repositories