Skip to content

Conversation

vignesh-codes
Copy link
Contributor

Description

When a GrafanaDatasource CR references secrets or configmaps through the valuesFrom field, the operator will now automatically reconcile the datasource whenever those referenced resources change.

Related Issue

Fixes #2142

What Changed

Note:
Should we add to add reconciler logic here too or in a separate PR? it says todo

// TODO: Consider watching token Secrets for reactive reconciles.

lemme know

@CLAassistant
Copy link

CLAassistant commented Sep 6, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the feature this PR introduces a new feature label Sep 6, 2025
Copy link
Collaborator

@Baarsgaard Baarsgaard left a comment

Choose a reason for hiding this comment

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

Seems to work perfectly from my testing!
Thanks for the contribution 😄

@Baarsgaard Baarsgaard added this pull request to the merge queue Sep 7, 2025
Merged via the queue into grafana:master with commit df919c1 Sep 7, 2025
18 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature this PR introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator should react to changes in secrets referenced in the datasource CR
3 participants