Add environment variable reference documentation#2081
Conversation
Users frequently get confused about which Robusta credentials belong on the runner vs HolmesGPT, where to set them, and which env vars each component reads. The existing docs only showed plain-text values in the GitOps examples and a partial Holmes-only secret example, so users had to read source code to figure out the rest. - Expand configuration-secrets.rst with a complete walkthrough that loads account_id, signing_key, and the UI/sink token from a single Kubernetes Secret, covering both the runner and Holmes pods plus the globalConfig and sinksConfig wiring. Add a non-default-region (EU) block alongside it. - Add env-vars.rst as a reference for the user-facing env vars on the runner and Holmes, with a table mapping each credential to the component(s) that need it. - Strengthen the GitOps (Flux/ArgoCD) admonitions so users see a direct pointer to the secrets walkthrough instead of just a generic link. https://claude.ai/code/session_01YC1JKRVtkdzUJvLHRcGank
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
WalkthroughThis PR expands Robusta configuration documentation to provide secure credential-loading guidance. It adds a comprehensive Kubernetes Secrets workflow to configuration-secrets.rst, introduces a new env-vars.rst reference page, adds security warnings to GitOps guides, and updates documentation navigation. ChangesSecure Credential Loading Documentation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
|
✅ Docker image ready for
Use this tag to pull the image for testing. 📋 Copy commandsgcloud auth configure-docker us-central1-docker.pkg.dev
docker pull us-central1-docker.pkg.dev/robusta-development/temporary-builds/robusta-runner:0f7df6e
docker tag us-central1-docker.pkg.dev/robusta-development/temporary-builds/robusta-runner:0f7df6e me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:0f7df6e
docker push me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:0f7df6ePatch Helm values in one line: helm upgrade --install robusta robusta/robusta \
--reuse-values \
--set runner.image=me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:0f7df6e |
Summary
This PR adds comprehensive documentation for environment variables used when deploying Robusta, making it easier for users to understand configuration options without reading source code.
Key Changes
New documentation file (
docs/setup-robusta/env-vars.rst): Complete reference guide covering:Enhanced secrets management guide (
docs/setup-robusta/configuration-secrets.rst):account_id,signing_key, and UI token from Kubernetes SecretsUpdated GitOps guides (
docs/setup-robusta/gitops/argocd.rstandflux.rst):Updated documentation index (
docs/setup-robusta/index.rst):env-varspage to the table of contentsNotable Implementation Details
{{ env.X }}template syntax for referencing environment variables in configurationhttps://claude.ai/code/session_01YC1JKRVtkdzUJvLHRcGank