Commit Graph

31 Commits

Author SHA1 Message Date
Stephanie Hingtgen 3ce9137c19
Provisioning: Refactor to combine validation and test endpoint logic (#111965)
Provisioning: Refactor test endpoint
2025-10-03 01:16:37 -06:00
Daniele Stefano Ferru e34475041a
Provisioning: move job operator to enterprise and enable PR worker (#111663) 2025-09-27 20:14:08 -05:00
Stephanie Hingtgen e53b5902fa
Provisioning: Wire up tracing and add trace for job sync (#111455) 2025-09-22 22:23:29 -06:00
Stephanie Hingtgen 8b1caccc72
Provisioning: Add metrics for repo controller (#111450) 2025-09-22 20:14:03 +00:00
Stephanie Hingtgen a2d09490ae
Provisioning: Allow setting concurrent jobs settings and add metric (#111451) 2025-09-22 20:07:22 +00:00
Stephanie Hingtgen b02d2762f5
Provisioning: Add metrics to jobs (#111447) 2025-09-22 19:05:34 +00:00
Stephanie Hingtgen bd550d2f06
Provisioning: Wire up prometheus (#111444) 2025-09-22 09:54:50 -05:00
Mihai Turdean aaa8094a53
Add more metrics to the IAM Folder Reconciler (#111275)
* Add more metrics to the operator

* Add namespace when logging metrics

* Skip flaky test
2025-09-18 09:03:32 -06:00
Mihai Turdean ac13da2d1d
Use concurrent informer for iam-folder-reconciler (#110987) 2025-09-11 15:57:07 -05:00
Mihai Turdean 03abe18bb2
Instrument IAM Folder Operator with Tracing (#110923) 2025-09-11 15:21:44 +00:00
Mihai Turdean 338fc84479
Enable metrics by default for the folder operator (#110852) 2025-09-10 08:55:28 -06:00
Roberto Jiménez Sánchez acbc2cf01a
Provisioning: Configurable Repository Types in monolith and operators (#110822)
* Configurable repository types in monolith and operator

* Default to Github in operators

* Regenerate wire

* Fix and implement unit tests

* Same types for enterprise tests

* Remove unnecessary conversion

* Remove the issue with import cycles
2025-09-09 19:13:22 +02:00
Daniele Stefano Ferru 76976ef648
Provisioning: add webhook support in API Server and Operator (#110673)
* Provisioning: add webhook support in API Server

* updating Extra interface

* adding extra with workers interface

* reverting extraWithWorkers in RegisterAPIService

* adding extra job worker provider

* adding new extra job provider

* Wire things differently

* Remove unused GetJobs

* Pass url variable as string

* Support webhooks in controller

* Fix condition

* Change the naming

---------

Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2025-09-08 19:39:05 +02:00
Roberto Jiménez Sánchez ace05e999d
Provisioning: Remove temporary logic to test clients in jobs operator (#110758)
Remove temporary logic to test clients in jobs operator
2025-09-08 12:15:13 +00:00
Daniele Stefano Ferru 76f7836419
Provisioning: correctly use resource clients in controllers (#110737)
* Provisioning: correctly use resource clients in controllers

* better names on fields

* fix struct initialisation

* updating roundtripper tests
2025-09-06 18:13:39 -06:00
Daniele Stefano Ferru 04c3d9bff1
Provisioning: fixing some checks in config (#110729) 2025-09-05 23:27:35 +00:00
Mihai Turdean 62cc0f9c0e
Udate IAM Folder Reconciler Operator config (#110728) 2025-09-05 22:56:23 +00:00
Stephanie Hingtgen 2750a3516a
Provisioning: Add provisioning api server to clients (#110721) 2025-09-05 20:36:52 +00:00
Roberto Jiménez Sánchez ed2273b2d2
Provisioning: processing of jobs in job controller (#110223)
* WIP: Controller

* WIP: more changes

* Use patcher from new location

* Separate import

* Move operators to grafana/grafana

* Tidy go mod

* Remove duplicate TODO

* Wrapper for unified storage

* WIP: build unified storage client

* More attempts

* Revert update workspace

* Improve comment

* Fix linting

* Change signature of repository getter

* Add ticket numbers

* Remove question

* Read config from file for decrypt service

* Config struct for unified torage

* Add local config

* Fix compilation

* Try to configure it

* Fix linting

* Add FIXME comment

* Move reusable logic into controller config

* Remove unused

* More logic to be reused

* Extract workers into separate function

* Clean up unified storage client

* Revert a couple of files

* Remove secrets decrypter from this PR

* Revert enterprise imports

* Clean up unified storage setup logic

* Add TODO

* Revert some changes

* Remove file

* Use the expected clients

---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-09-05 18:28:31 +00:00
Roberto Jiménez Sánchez e2913815d3
Provisioning: Build resource clients for operators (#110699)
---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-09-05 17:52:57 +00:00
Stephanie Hingtgen c4bc83019d
Provisioning: Fix bug in config reading (#110703) 2025-09-05 14:30:43 +00:00
Roberto Jiménez Sánchez feb4368de5
Provisioning: Build unified storage client for operators (#110671)
* Build unified storage client in config
* Testing ticker to count managed objects
2025-09-05 10:51:51 +00:00
Stephanie Hingtgen 9ddc70423b
Provisioning: Cleanup tester interface (#110640)
* Provisioning: Cleanup tester interface

* undo accidental change

* cleanup

* cleanup test
2025-09-05 07:47:27 +02:00
Stephanie Hingtgen b567cde3d3
Provisioning: Reuse controller from registry (#110639) 2025-09-05 01:13:55 +00:00
Mihai Turdean f1dffca140
IAM Folder Reconciler: Make operator available as a target when running the grafana binary. (#110567) 2025-09-04 08:22:17 -06:00
Roberto Jiménez Sánchez 57ea65dc42
Provisioning: Decrypt using Secrets Service in Operators (#110589)
* Use real secrets servicer decrypter

* Add also server name just in case
2025-09-04 16:18:14 +02:00
Roberto Jiménez Sánchez 3d009ff7ed
Provisioning: Build and use repository factory in repository controller (#110585)
Build and use repository factory
2025-09-04 13:12:56 +02:00
Stephanie Hingtgen 4527530cd2
Provisioning: update readme to skip migrations (#110561) 2025-09-03 21:09:44 +00:00
Stephanie Hingtgen 84ae9ea71b
Provisioning: Add scaffolding for repo controller (#110543) 2025-09-03 17:30:41 +00:00
Stephanie Hingtgen 8e41d5929a
Operators: Cleanup registration process (#110539) 2025-09-03 16:36:42 +00:00
Roberto Jiménez Sánchez 4de9ec7310
Provisioning: Fix import cycle between grafana and provisioning app (#110406)
* Move operators to grafana/grafana

* Go mod tidy
2025-09-01 13:29:34 +00:00