Charandas
64c700e563
Provisioning: kind name should be singular ( #111570 )
2025-09-24 15:25:41 -07:00
Costa Alexoglou
0c0554da5e
fix: avoid child paths in repositories ( #111573 )
...
* fix: avoid child paths in repositories
* add another unit test; fix linter
* Update pkg/registry/apis/provisioning/register.go
* skip itself
* fix: failing tests
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-09-24 21:35:06 +00:00
Ryan McKinley
a4dabc31ed
Folders: let unified storage handle authorization ( #110825 )
2025-09-24 16:26:47 +03:00
Stephanie Hingtgen
8b1caccc72
Provisioning: Add metrics for repo controller ( #111450 )
2025-09-22 20:14:03 +00:00
Stephanie Hingtgen
bd550d2f06
Provisioning: Wire up prometheus ( #111444 )
2025-09-22 09:54:50 -05:00
Stephanie Hingtgen
15ee224da5
Provisioning: Allow disabling of image rendering instance wide ( #111359 )
2025-09-19 12:40:14 +03:00
Stephanie Hingtgen
cb11bc15fa
Provisioning: Allow disabling of instance sync ( #111270 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2025-09-18 10:40:02 -05:00
Alexander Zobnin
72d212c5f9
Authlib: Update authz client to use zookies ( #111291 )
...
* Authlib: Update authz client to use zookies
* fix zookie return
* fix linter
2025-09-18 16:24:22 +02:00
Costa Alexoglou
0248a393d7
fix: dashboard upsert with empty ref ( #111190 )
...
* fix: dashboard upsert with empty ref
* chore: cleanup
* fix: branches in other git providers and linter
2025-09-17 11:49:15 +02:00
Stephanie Hingtgen
c85776614e
App sdk: Update to v0.45.0 ( #111222 )
2025-09-17 09:03:30 +03:00
Ryan McKinley
0a79b3bdc5
Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 ( #111009 )
2025-09-16 13:35:20 +03:00
Alexander Zobnin
38e5298807
Authz: Skip cache in List request if option provided ( #110864 )
...
* Authz: Skip cache in List request if option provided
* return timestamp with list response
* update authlib
* add skipCache option test
* refactor
* fix tests
* update workspaces
* Set zookies depending on cache hit
* update workspaces
* Fix nil pointer
2025-09-16 11:27:07 +02:00
Will Browne
b154763d04
Chore: Bump prometheus/client_golang to v1.23.2 ( #111123 )
...
bump prometheus/client_golang to v1.23.2
2025-09-16 09:26:50 +01:00
Alexander Zobnin
294fd943c0
Chore: Update authlib ( #110880 )
...
* Chore: Update authlib
* exclude incompatible version of github.com/grafana/gomemcache
* Update go-jose to v4
* fix jose imports
* remove jose v3 from go.mod
* fix tests
* fix serialize
* fix failing live tests
* add v1 of ES256 testkeys. Port tests to use ES256 instead of HS256
* accept more signature algs for okta and azuread
* azure social graph token sig
* accept more signature algs for oauth refresh and jwt auth
* update workspace
* add a static signer for inproc
* rebase and fix ext_jwt
* fix jwt tests
* apply alex patch on gomemcache
* update linting
* fix ext_jwt panic
* update workspaces
---------
Co-authored-by: Jo Garnier <git@jguer.space >
2025-09-15 12:45:15 +02:00
Ryan McKinley
afc08dbbbc
Chore: go.mod updates ( #110957 )
2025-09-15 09:01:45 +00:00
Daniele Stefano Ferru
1f7afc6b6a
Provisioning: add unit and integration tests for finalizer validation ( #111012 )
...
* Add unit testS
* add integration tests
2025-09-12 13:57:31 +02:00
Ryan McKinley
842ae463b7
Chore: update otel v1.37.0 to v1.38.0 ( #110985 )
2025-09-12 10:11:56 +00:00
Daniele Stefano Ferru
6b2b949f8f
Provisioning: check finalizers when validating Repository object ( #110955 )
2025-09-11 21:38:41 -05:00
Ryan McKinley
9a54243f09
Chore: update golang.org/x/exp ( #110980 )
2025-09-11 22:13:07 +03:00
Roberto Jiménez Sánchez
09ef9c8176
Provisioning: Remove again dependency cycle between provisioning app and grafana ( #110863 )
...
* Remove dependency cycle between provisioning app and grafana
* Format code
* Fix linting
2025-09-10 14:40:44 +02:00
Stephanie Hingtgen
323738d191
Provisioning: Fix check of who can update ( #110835 )
2025-09-10 09:04:10 +03:00
Stephanie Hingtgen
8805e93b1d
Provisioning: Add better nil check ( #110847 )
2025-09-09 18:23:11 -05: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
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
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
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
Roberto Jiménez Sánchez
7d630ec3b1
Provisioning: Refactor tweaks to support MT controllers ( #110581 )
...
* Refactor common code to support MT controllers
* Delete original status files
2025-09-04 10:06:50 +00:00
Stephanie Hingtgen
84ae9ea71b
Provisioning: Add scaffolding for repo controller ( #110543 )
2025-09-03 17:30:41 +00:00
Matheus Macabu
4045da21e0
Provisioning: Bump secret dependency version ( #110440 )
2025-09-02 10:09:14 +00:00
Matheus Macabu
1e926a29c0
Secrets: Extract external facing decrypt types to apps ( #110432 )
2025-09-02 10:30:29 +02:00
Roberto Jiménez Sánchez
4eadc823a9
Provisioning: Move repository package to provisioning app ( #110228 )
...
* Move repository package to apps
* Move operators to grafana/grafana
* Go mod tidy
* Own package by git sync team for now
* Merged
* Do not use settings in local extra
* Remove dependency on webhook extra
* Hack to work around issue with secure contracts
* Sync Go modules
* Revert "Move operators to grafana/grafana"
This reverts commit 9f19b30a2e .
2025-09-02 09:45:44 +02: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
Stephanie Hingtgen
232d68fb8c
Controllers: Make available as a target ( #110357 )
...
* Controllers: Add to build process
* Allow setting through env variables
2025-08-30 12:27:50 +02:00
Roberto Jiménez Sánchez
93a35fc7be
Provisioning: Move apifmt, loki and safepath to provisioning app ( #110226 )
...
* Move apifmt
* Move safepath
* Move Loki package
* Regenerate Loki mock
* Missing file for Loki
2025-08-27 13:26:48 -05:00
Ryan McKinley
99f640fbab
Provisioning: Always fetch token ( #110116 )
2025-08-25 18:57:27 +02:00
Roberto Jiménez Sánchez
e7ccefcf92
Provisioning: Add Standalone Job Controller Without Job Processing ( #109610 )
...
* Add standalone job controller
* Add makefile
* Add limit on the current implementation
* Move job controllers to app package
* Add TLS flags
2025-08-25 08:48:40 +00:00
Ryan McKinley
ce65391067
Provisioning: Use inline secrets for gitsync ( #109908 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net >
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com >
2025-08-22 18:38:28 +02:00
Ryan McKinley
c67a6d820c
Provisioning: Remove cue generated go types (for now) ( #110030 )
2025-08-22 11:26:11 +00:00
Roberto Jiménez Sánchez
61d137992b
Provisioning: Mark repository as unhealthy if hooks fail ( #109788 )
2025-08-21 08:32:23 +00:00
Kevin Minehart
7c2945bb54
Remove drone & dead code in pkg/build; update go modules ( #109935 )
...
* remove drone & dead code in pkg/build; update go modules
* remove .drone.star
* Remove drone scripts and drone references in Makefile
* make update-workspace
* remove deadcode tool
* Remove daggerbuild/scripts: deadcode
* Remove drone files / folders in CODEOWNERS
* make update-workspace
* remove more dead code
2025-08-20 14:27:58 -05:00
Ryan McKinley
fa81fae1e3
Provisioning: Add inline secure values to repository schema ( #109594 )
2025-08-20 09:05:41 +00:00
Roberto Jiménez Sánchez
f2303a8ad9
Provisioning: Include Ref URLs in Job Status ( #109464 )
...
* Add URLs to Job spec
* Rename them as RefURLs
* Implement RefURLs for Github
* Add Ref URLs to Jobs
* Worker Test
* Create the branch in the staged writer
* Regenerate Git mock
* Format code
* Consolidate ResourceURLs and RefURLs into one
* Fix broken tests
2025-08-12 11:57:37 +02:00
Roberto Jiménez Sánchez
8a690e977e
Provisioning: Return unmanaged count in stats ( #109462 )
...
* Unmanaged counts
* Add integration test
* Generate open api spec
2025-08-12 09:17:25 +02:00
Ryan McKinley
439d4d383c
Provisioning: Hide HistoricJobs from OpenAPI spec ( #109454 )
...
histtoric jobs
2025-08-11 10:47:33 +00:00
Roberto Jiménez Sánchez
f80627f228
Provisioning: Store Recent Jobs Temporarilly in Unified Storage ( #109392 )
...
* Add HistoryJob back to Spec
* Generate client
* Put back History Jobs
* Add a controller to remove historic jobs after some minutes
* Start only if Loki is not used
* Format code
* Update OpenAPI spec
* Change log level
* Fix condition
* Fix staticcheck
* Use provisioning identity
* Fix registration APIs
* Fix readonly issue
* Update OpenAPI
2025-08-11 13:10:15 +03:00
Mariell Hoversholm
28024c74f8
Go: Update to 1.24.6 ( #109313 )
...
Co-authored-by: joshhunt <josh.hunt@grafana.com >
2025-08-07 10:27:01 +02:00
Ezequiel Victorero
a630a7a653
Chore: Bump Grafana app SDK to v0.40.3 ( #109289 )
2025-08-06 17:27:17 -03:00
Ryan McKinley
d24e4f984e
Chore: replace go.mod apps references with relative paths ( #109264 )
2025-08-06 16:57:47 +00:00
Roberto Jiménez Sánchez
102d230321
Provisioning: generate client for jobs ( #109242 )
...
* Generate client for jobs
* Revert changes in client and openapi
2025-08-06 10:32:11 +00:00