shop-charts/
Pick any file or folder on the left to see what it is, why it exists, when you add it and the mistakes people make with it. Switch the stage to watch the project grow.
# Create the chart (Helm 4)
helm create charts/shop-api# Lint and see the YAML it renders
helm lint --strict charts/shop-api && helm template shop-api charts/shop-api# Create a local cluster and install the chart
kind create cluster && helm upgrade --install shop-api charts/shop-api -n shop --create-namespace --wait# Run the chart's in-cluster tests
helm test shop-api -n shop# Install the unit test plugin (Helm 4 needs --verify=false) and run it
helm plugin install https://github.com/helm-unittest/helm-unittest.git --verify=false && helm unittest charts/shop-api# Lint and install changed charts the way CI does
ct lint --config ct.yaml && ct install --config ct.yaml# Deploy an environment
helm upgrade --install shop-api charts/shop-api -n shop -f environments/dev/values.yaml --rollback-on-failure --wait# Package and publish to an OCI registry
helm package charts/shop-api -d dist && helm push dist/shop-api-1.4.0.tgz oci://ghcr.io/shop/charts