Skip to content

Releases: cldmnky/grafoo

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 16 Apr 11:30
78ab373

New Features

Added support for the Multicluster Observability Operator (MCOO) with a new prometheus-mcoo data source type.

  • Users can enable MCOO via the new EnableMCOO option in the GrafanaSpec configuration.
  • Introduced a new default MCOO data source, Prometheus (MCOO), with pre-configured settings.

Changelog

What's Changed

Full Changelog: v0.1.4...v0.1.5

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 10 Apr 11:25
8a56cd4

New Features

Token Management:

Added TokenGenerationTime to GrafanaStatus to track token creation.
Implemented a new needsRefreshedToken helper function to determine if a token requires regeneration.
Tokens are now refreshed automatically if expired or nearing expiration (15 minutes or less).
Tokens are forcefully refreshed and expiration time adjusted during initial reconciliation.
Dex Integration Enhancements:

Refactored ReconcileDex to support token refresh logic and conditional Dex resource cleanup when Dex is disabled.
Introduced helper functions for managing Dex resources:
reconcileDexConfigSecret for Dex configuration with token integration.
reconcileDexDeployment, reconcileDexService, and reconcileDexIngress for managing Dex components.
removeDexResources for cleaning up Dex-related resources when not needed.

Improvements

Status Conditions:

Expanded status conditions (typeDataSourcesReady, typeGrafanaReady, etc.) for better reconciliation tracking.
Updated overall status condition messaging for clarity.
Data Source Reconciliation:

Replaced token handling in data source reconciliation with a reusable token-based workflow.
Enhanced reconciliation for Prometheus, Loki, and Tempo data sources to use refreshed tokens.
Code Refactoring:

Introduced utility methods like extractTokenFromSecureJSONData for token extraction from secure JSON data.
Improved logic flow and error handling in the ReconcileDataSources and ReconcileDex methods.
Event Filtering:

Added predicate.ResourceVersionChangedPredicate to controller setup to refine event handling.

Bug Fixes
Corrected type definitions and comments in grafana_types.go for improved clarity and compliance with operator SDK annotations.

Miscellaneous
Added comprehensive cleanup logic for Dex-related resources when Dex is disabled.
Updated reconciliation logic to ensure consistency in handling conditions and resource updates.
This release focuses on improving token management, enhancing Dex integration, and cleaning up reconciliation logic for better reliability and maintainability.

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 03 Jan 09:59
69d8931

Changelog

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 03 Oct 16:18
ad7fcaf

Changelog

v0.1.1-beta.1

Choose a tag to compare

@github-actions github-actions released this 26 Jun 09:53
5307935

Changelog