Commit Graph
18 Commits
Author SHA1 Message Date
Mariell Hoversholm 0f367cd08e chore: update codegen 2025-01-07 10:34:38 +01:00
Ryan McKinley d3f5640343 merge main 2025-01-07 07:55:20 +03:00
Ryan McKinley 6683cdc082 K8s: Update from v0.31.3 to v0.32.0 (#98507) 2025-01-06 18:20:35 +03:00
Roberto Jiménez Sánchez 4d736faef3 Add maximum retries in controller (#98165)
* Add maximum retries in controller

* Retry only for apierrors ServiceIsUnavailable

* Return error OnUpdate and OnCreate

* Trigger sync job for both again

* Remove initialized status
2024-12-18 16:35:33 +01:00
Roberto Jiménez Sánchez d9d389bc53 Fix infinite loop and record more information (#98185)
* Fix infinite loop and record more information

* Regenerate code

* Use static client in job worker

* Fix condition to log that a repository is unhealthy

* Submit sync job after we are done with the status update

* Do not set generation in test endpoint
2024-12-18 14:21:00 +01:00
Roberto Jiménez Sánchez a6ed3d6fc5 [Prototyping] Webhook managed by controller (#98085) 2024-12-18 07:34:29 +03:00
Ryan McKinleyandMariell Hoversholm 4e90c34b64 POC/Provisioning: Use healthy repositories (#97999)
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
2024-12-17 11:13:30 +03:00
Ryan McKinleyandTodd Treece de2bff1d07 POC/Provisioning: Add informer (with healthcheck) (#97806)
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-12-13 13:45:22 +03:00
Yuri Tseretyan 2d386e6704 Alerting: Migrate notification models to generated by grafnaa-app-sdk (#95430)
* create notifications module and generate models

* switch template group to app models

* switch time intervals to use app models

* switch receiver to use app models

* switch routing tree to use app models

* move schema registration to resource packages

* fix package names to match app

* fix codeowners

* fix UI to use metadata.name instead of uid

* update dockerfile

* move generated models to pkg

* remove provenance from field selector

* move client factories to test files

* rename GenericClient to TypedClient
2024-12-09 10:29:05 -05:00
2deced7d40 Alerting: Notifications Routes API (#91550)
* Introduce new models RoutingTree, RouteDefaults and Route and api-server to serve them that is backed by provisioning notification policy service.

* update method UpdatePolicyTree of notification policy service to return route and new version

* declare new actions alert.notifications.routes:read and alert.notifications.routes:write and two corresponding fixed roles.

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2024-10-24 13:53:03 -04:00
Yuri Tseretyan 10582e48f7 Alerting: Notifications Templates API (#91349) 2024-09-25 09:31:57 -04:00
Todd Treece da6b02a2b0 K8s: Add k8s codegen PR check (#91903) 2024-08-14 11:06:37 -04:00
Todd Treece dacf11b048 K8s: Fix hack/update-codegen (#91867) 2024-08-14 08:17:05 +03:00
Matthew Jacobson b7f422b68d Alerting: Receiver API Get+List+Delete (#90384) 2024-07-16 10:02:16 -04:00
Matthew Jacobson e121e2609f Alerting: Receiver API (#89707) 2024-06-26 20:03:25 +03:00
Yuri Tseretyan b075926202 Alerting: Time Intervals API (#88201)
* expose ngalert API to public
* add delete action to time-intervals
* introduce time-interval model generated by app-platform-sdk from CUE model the fields of the model are chosen to be compatible with the current model
* implement api server
* add feature flag alertingApiServer
---- Test Infra
* update helper to support creating custom users with enterprise permissions
* add generator for Interval model
2024-06-20 16:52:03 -04:00
Charandas 9167d67c05 K8s: update hack codegen script (#81216) 2024-01-25 12:01:09 -08:00
Charandas 48612063dd Grafana app platform: an aggregator cmd and package (#79948) 2024-01-08 22:33:42 +02:00