This example demonstrates the simplest way to deploy Sourcebot to a Kubernetes cluster using Helm.
helm repo add sourcebot https://sourcebot-dev.github.io/sourcebot-helm-chart
helm repo updateEdit secrets.yaml and replace the placeholder values:
# Generate AUTH_SECRET
openssl rand -base64 33
# Generate SOURCEBOT_ENCRYPTION_KEY
openssl rand -base64 24Apply the secrets:
kubectl apply -f secrets.yamlEdit values.yaml and update the repositories you want to index. See the configuration docs for more information.
helm install sourcebot sourcebot/sourcebot -f values.yamlkubectl port-forward svc/sourcebot 3000:3000helm uninstall sourcebot
kubectl delete -f secrets.yaml
# Optionally, remove all PVCs (this will delete all data)
kubectl delete pvc -l app.kubernetes.io/instance=sourcebotFor more information, see the main Helm chart documentation.