Skip to content

feat(grafana): enabled the sidecar dashboard to load dashboards#89

Open
CptSchnitz wants to merge 2 commits into
masterfrom
grafana-dashboard-sidecar
Open

feat(grafana): enabled the sidecar dashboard to load dashboards#89
CptSchnitz wants to merge 2 commits into
masterfrom
grafana-dashboard-sidecar

Conversation

@CptSchnitz

Copy link
Copy Markdown

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the grafana wrapper chart’s default values to enable Grafana’s dashboards sidecar, allowing dashboards to be automatically discovered and loaded from Kubernetes resources (via configured labels/annotations).

Changes:

  • Enable the Grafana sidecar dashboards feature by default.
  • Configure the dashboards sidecar label/annotation selectors and provider behavior.
  • Add explicit resource requests/limits and a container securityContext for the sidecar.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/grafana/values.yaml
name: monitoring

sidecar:
searchNamespace: null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this operate as expected in the absence of a cluster rule?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When its null it only monitors the namespace its deployed in.
If you want multiple namespaces you need to supply comma separated values.
For reference, it already works with our existing service account, which does not have cluster rule, im pretty sure.

Co-authored-by: Netanel Cohen <34451523+netanelC@users.noreply.github.com>
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.

4 participants