[ROB-1828] added api-docs#1878
Conversation
WalkthroughTwo documentation files were updated. The first adds details for a new API endpoint that returns counts of specified Kubernetes resources within a namespace, including request/response formats and usage examples. The second expands configuration documentation for the Robusta UI sink, describing how to customize namespace resource monitoring and rescan intervals. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Possibly related PRs
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
docs/configuration/sinks/RobustaUI.rst (1)
69-71: Fix minor typo (“the the”).
There is a duplicated article: “via the the Robusta Backend”. Drop one “the” to avoid distracting readers.docs/configuration/exporting/exporting-data.rst (1)
662-664: Remove duplicated word (“the the”).
Same typo appears here: “relies on resource types configured in the the Robusta Backend”.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/configuration/exporting/exporting-data.rst(1 hunks)docs/configuration/sinks/RobustaUI.rst(1 hunks)
🧰 Additional context used
🪛 Gitleaks (8.27.2)
docs/configuration/exporting/exporting-data.rst
708-709: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
(curl-auth-header)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: run_tests
- GitHub Check: run_tests
- GitHub Check: Deploy docs
- GitHub Check: Deploy docs
🔇 Additional comments (3)
docs/configuration/sinks/RobustaUI.rst (1)
85-99: Verify resourcekindvalues – Kubernetes kinds are singular.
In Kubernetes API objects,kindis conventionally singular (Service,Deployment,CronJob,Ingress, etc.).
Using plural forms may lead to confusion when users copy-paste this YAML into their values file.Example correction:
- kind: "Services" + kind: "Service"Please double-check whether the backend truly expects plural strings or if this is a documentation slip.
docs/configuration/exporting/exporting-data.rst (2)
716-721: Confirm pluralkindidentifiers in request example.
The example payload usesDeployments,Ingresses,Services,ReplicationControllers, etc.
Kuberneteskindis normally singular. If the API really expects plural values, call that out explicitly; otherwise, switch to singular to save users from 400-series errors.
708-710: No real token exposed – OK
Authorization: Bearer API-KEY-HEREis clearly a placeholder, so the Gitleaks alert is a false positive. No action needed.
No description provided.