Skip to content

fix(grafana): track events for all owned resources#2299

Merged
weisdd merged 2 commits intomasterfrom
fix/grafana-track-owned-resources
Nov 15, 2025
Merged

fix(grafana): track events for all owned resources#2299
weisdd merged 2 commits intomasterfrom
fix/grafana-track-owned-resources

Conversation

@weisdd
Copy link
Copy Markdown
Collaborator

@weisdd weisdd commented Nov 15, 2025

  • grafana:
    • added controller notifications for the remaining owned resources, so they get recreated right away in case someone deletes them:
      • PersistentVolumeClaim: nothing useful in status, so status updates are ignored (API reference);
      • Secret: no status;
      • Service: nothing useful in status as we care only about clusterIP(s), so status updates are ignored (API reference);
      • ServiceAccount: no status;
      • Ingress: the status gets updated with an IP address of an ingress-controller. On one hand, if the grafana-controller gets notified about the change, the reconciliation will be faster for those users who rely on the preferIngress setting, on the other - it's probably not worth having a second reconciliation upon status updates for everyone as preferIngress is unlikely to be very popular (API reference);
      • Route: same concern as for Ingress, so status updates are ignored as well (API reference).

@github-actions github-actions Bot added the bugfix this PR fixes a bug label Nov 15, 2025
@weisdd weisdd changed the title fix(grafana): track all owned resources fix(grafana): track events for more owned resources Nov 15, 2025
@weisdd weisdd changed the title fix(grafana): track events for more owned resources fix(grafana): track events for all owned resources Nov 15, 2025
@weisdd weisdd mentioned this pull request Nov 15, 2025
Copy link
Copy Markdown
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.

This is great to finally have!

@weisdd weisdd added this pull request to the merge queue Nov 15, 2025
Merged via the queue into master with commit fd6ae50 Nov 15, 2025
16 checks passed
@weisdd weisdd deleted the fix/grafana-track-owned-resources branch November 15, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix this PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants