Are the secretRef/configRef used in Grafana Data source CR watched for changes ? #2141
-
|
Hi Everyone, When using the Grafana Operator to create a datasource via the Grafana DataSource CR, if I reference a secret or configMap (for example, secretRef or configMapRef) to provide certificates like ca.cert or TLS credentials for a Loki datasource, will those secrets/configmaps be watched by the operator? Specifically, if the referenced secret or configMap is updated (e.g., during certificate rotation), will the datasource configuration in Grafana be automatically updated to reflect these changes without manual intervention? As in below CR: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
As of right, the operator does not react to changes to a referenced If it's a feature you're looking for, creating a "Feature request" would be a good start. |
Beta Was this translation helpful? Give feedback.
As of right, the operator does not react to changes to a referenced
ConfigMapforGrafanaDatasources.It relies solely on the CR itself and
resyncPeriod.We do have something similar for
GrafanaDashboardwhen using aConfigMapas the json source, but that only works under specific conditions as detailed in #1964If it's a feature you're looking for, creating a "Feature request" would be a good start.
And if you're up for it, a PR implementing would likely be accepted as we already have similar functionality for
GrafanaDashboard