- Helm 3.x
- A local Kubernetes cluster (e.g., minikube). The default resource requests require at least 12GB of memory. For minikube, configure this before creating your cluster:
minikube config set memory 12288 # 12GB
Fetch the subchart dependencies (PostgreSQL, Valkey). You only need to re-run this when the dependencies in Chart.yaml are updated:
helm dependency build ./charts/sourcebotApply the secrets and deploy the minimal installation example:
kubectl apply -f examples/minimal-installation/secrets.yaml
helm upgrade --install sourcebot ./charts/sourcebot \
-f examples/minimal-installation/values.yaml \
--set-json "sourcebot.config=$(cat examples/minimal-installation/config.json)"Port forward to access Sourcebot at http://localhost:3000:
kubectl port-forward svc/sourcebot 3000:3000Lint the chart:
helm lint ./charts/sourcebot -f ./charts/sourcebot/values.lint.yamlRender templates locally without deploying:
helm template sourcebot ./charts/sourcebot -f ./charts/sourcebot/values.lint.yamlRun the chart tests:
helm test sourcebotThe chart README is auto-generated from values.yaml comments using helm-docs. After modifying values.yaml, regenerate the docs:
helm-docs --chart-search-root ./charts