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
More on Build Tools and Artifact Repositories
What is Maven and what is its build lifecycle?BeginnerWhat is the difference between `mvn package`, `install` and `deploy`?BeginnerHow do Maven dependency scopes and transitive dependencies work?IntermediateWhat is `settings.xml` in Maven and how do CI builds use it?IntermediateWhat is the Maven Wrapper and why use it?BeginnerHow do you cache dependencies and speed up Maven builds in CI?Intermediate