Skip to content

feat(helm): support annotations on Grafana dashboard ConfigMaps - #302

Merged
GatewayJ merged 1 commit into
rustfs:mainfrom
GatewayJ:feat/dashboard-configmap-annotations
Dec 3, 2026
Merged

GatewayJ merged 1 commit into
rustfs:mainfrom
GatewayJ:feat/dashboard-configmap-annotations

Conversation

@GatewayJ

@GatewayJ GatewayJ commented Dec 3, 2026

Copy link
Copy Markdown
Member

Type of Change

  • New Feature

Related Issues

Closes #301.

Summary of Changes

Add an optional dashboard.annotations map to the Operator Helm chart. The chart writes the configured strings to the metadata of every bundled dashboard ConfigMap. The chart guide shows how to select a folder with the Grafana dashboard sidecar.

Checklist

  • I have read and followed the contributing guidelines.
  • Passed make pre-commit.
  • Updated the dashboard manifest test to cover default output, custom annotations and schema validation.
  • Updated the chart documentation.
  • Updated the changelog under [Unreleased].
  • CI/CD passed.

Impact

The new setting is optional and defaults to an empty map.

Verification

make pre-commit
helm lint deploy/rustfs-operator
helm template rustfs-operator deploy/rustfs-operator \
  --set-string dashboard.annotations.grafana_dashboard_folder=RustFS \
  --show-only templates/grafana-dashboards.yaml

In a local Kubernetes 1.35.1 cluster, Grafana 13.3.2 initially listed all seven dashboards at the root. Upgrading the same Operator release with the folder annotation moved those same seven dashboard UIDs into the RustFS folder. Grafana used its dashboard sidecar with folderAnnotation: grafana_dashboard_folder and foldersFromFilesStructure: true.

Additional Notes

N/A

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T15:14:46.798609Z 983a767 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@GatewayJ
GatewayJ added this pull request to the merge queue Dec 3, 2026
Merged via the queue into rustfs:main with commit 166098b Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] helm chart should allow dashboard annotations

1 participant