Marcus Efraimsson
e22b510cd8
API Server: Fix extracting jaeger remote trace from incoming request ( #93998 )
2024-10-02 17:07:31 +02:00
Ryan McKinley
87c81825b7
K8s: Move standalone apiserver CLI to enterprise ( #93799 )
2024-09-27 09:04:35 +03:00
Andres Martinez Gotor
225600a08b
Expose queryconvert endpoint ( #93656 )
2024-09-25 15:10:19 +02:00
maicon
377079d8b3
UniStore: Add config to enable periodic DualWriter DataSyncer ( #93555 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-24 22:03:15 +03:00
Charandas
db97da3465
K8s: handle multiple versions of the same group in standalone mode ( #93199 )
2024-09-23 19:07:52 -07:00
owensmallwood
8bbfbc61be
Unified Storage: Adds a few readme updates from issues I ran into with local dev ( #93553 )
...
adds a few readme updates from issues I ran into with local dev
2024-09-23 08:25:19 -06:00
Karl Persson
2e38329026
RBAC: Add required component to perform access control checks for user api when running single tenant ( #93104 )
...
* Unexport store and create new constructor function
* Add ResourceAuthorizer and LegacyAccessClient
* Configure checks for user store
* List with checks if AccessClient is configured
* Allow system user service account to read all users
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-09-23 11:26:44 +02:00
Jean-Philippe Quéméner
4f04b5849e
feat(apiserver): add flag to control the request size limit ( #93431 )
2024-09-18 20:39:32 +03:00
Ryan McKinley
45eb72e95a
K8s: Use wire to initalize the resource client ( #93221 )
2024-09-12 17:22:27 +03:00
Ryan McKinley
d724d463b1
DualWriter: Add mode 5 that always uses storage ( #93169 )
2024-09-10 13:07:06 -04:00
Jean-Philippe Quéméner
368c4e53f1
feat(apiserver): refactor the hooking mechanism for standalone apiserver ( #93001 )
...
It now uses a full build handler chain that can be passed from up top to `SetupConfig`.
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2024-09-06 14:12:12 -07:00
Ryan McKinley
5441e4c752
Storage: create a client with access to all interfaces, not just ResourceStore ( #92967 )
2024-09-05 12:52:30 +03:00
Ryan McKinley
9338e40dc3
K8s/IAM: Move identity.grafana.app to iam.grafana.app ( #92929 )
2024-09-05 09:43:54 +03:00
Leonor Oliveira
2e451b2ed7
Use dw dynamic config ( #91882 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
* Be temporarily retro compatible with previous feature toggle
* Properly read unified_storage section
* [WIP] Read new format of config
* Fix test
* Fix other tests
* Generate feature flags file
* Use <group>.<resource> schema
* Use <group>.resource format on the FE as well
* Hide UniStore config from Frontend
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* unwanted changes
* Use feature toggles in the FE. Enforce FTs are present before enabling dual writing
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com >
* use kubernetes playlists feature toggle on the FE
* Remove unwanted code
* Remove configs from the FE
* Remove commented code
* Add more explicit example
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-30 11:59:42 +02:00
Ryan McKinley
82417c916f
K8s: Use stacks plural not singular in grafana namespaces ( #92550 )
2024-08-29 14:15:00 +03:00
Charandas
af2e79aa83
K8s: namespace mapper should use authlib's util ( #92332 )
2024-08-27 15:01:42 -07:00
maicon
de2c9a06bf
Unified Storage: First iteration Dual Write Syncer ( #89809 )
...
* Unified Storage: First iteration Dual Write Syncer
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Leonor Oliveira <9090754+leonorfmartins@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 13:31:40 -03:00
Ryan McKinley
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver ( #92213 )
2024-08-27 12:12:22 +03:00
Ryan McKinley
2136fd9a92
Storage: Remove unified storage feature flag ( #92192 )
...
remove unified storage flag
2024-08-21 19:28:30 +03:00
Ryan McKinley
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator ( #91228 )
2024-08-13 22:28:17 +03:00
Leonor Oliveira
d52d04b6d8
Revert "Use dw dynamic config" ( #91846 )
...
Revert "Use dw dynamic config (#91222 )"
This reverts commit 0258842f87 .
2024-08-13 17:24:26 +02:00
Leonor Oliveira
0258842f87
Use dw dynamic config ( #91222 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Regenerate feature-toggles
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Todd Treece
75f0b3a228
K8s: Test for changes to aggregator's postStartHooks ( #91771 )
2024-08-10 20:32:57 -04:00
Todd Treece
5972dd0b59
Chore: Update names of DisabledPostStartHooks ( #91767 )
2024-08-09 16:57:08 -04:00
Ryan McKinley
243c0935fc
Auth: Use claims.AuthInfo in requester ( #91739 )
2024-08-09 19:46:56 +03:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
owensmallwood
2387798719
Unified Storage: Propagate traces from the apiserver grpc client ( #91226 )
2024-08-06 09:52:11 -06:00
Ryan McKinley
a223c46506
APIServer: Make TableConverter part of ResourceInfo ( #91520 )
2024-08-05 15:38:12 +03:00
Leonor Oliveira
6f6a06435d
Remove unified_storage_mode reference in the grafana repo ( #91481 )
2024-08-02 15:40:05 +02:00
Charandas
a3d3f9a1e4
Revert "Identity: Remove id token from extra info ( #91169 )" ( #91350 )
...
This reverts commit 10170cb839 .
2024-07-31 21:27:46 +03:00
Ryan McKinley
160fe2a3a4
Storage: Remove entity store ( #91233 )
2024-07-31 09:25:39 +03:00
Ryan McKinley
10170cb839
Identity: Remove id token from extra info ( #91169 )
2024-07-31 09:14:13 +03:00
Ryan McKinley
728150bdbd
Identity: extend k8s user.Info ( #90937 )
2024-07-30 08:27:23 +03:00
Leonor Oliveira
8345af928c
[Dual writer] Read kind value passed as dualwriter's argument ( #91113 )
...
* Include kind on the dualwriter to be used on metrics
* Use kind as argument
* Skip dual writer in mode4
2024-07-29 13:57:44 +02:00
Ryan McKinley
be7b1ce2df
Chore: Replace appcontext.User(ctx) with identity.GetRequester(ctx) ( #91030 )
2024-07-26 16:39:23 +03:00
Georges Chaudy
4baca6947d
ResourceServer: make the resource store the default unified storage backend ( #90899 )
...
* make the resource store the default unified storage backend
* add integration tests
* fix test non passing
* Update pkg/storage/unified/sql/test/integration_test.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* lint
* fix tests
* fix no rows
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-07-25 18:17:39 +02:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Leonor Oliveira
ec343f276f
Dual writer: mode 4 ( #90581 )
...
* Itroduce watcher and mode4
* Logging
* Mode4 should be initialized from the dual writer for observability
* Comment watch while it's not implemented
* Lint
* Use mode log when dual writer is initiated
* Use error from logger
2024-07-24 14:10:10 +02:00
Georges Chaudy
08c611c68b
ResourceServer: Resource store sql backend ( #90170 )
2024-07-18 08:03:18 -07:00
Ryan McKinley
6e39f24588
Storage: Update storage.Interface for backend ( #90382 )
2024-07-18 07:47:47 -07:00
Charandas
4abb4d1662
ExtJwt: don't log verify errors as they spam for grafana-agent ( #90351 )
...
* ExtJwt: don't log verify errors as they spam for grafana-agent
* remove dead code
* revert unintended change
* revert unintended change
2024-07-11 18:23:43 -07:00
Ryan McKinley
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
Marcus Efraimsson
2cf3a4d9ee
API Server: Override k8s api server profile contention flag with custom ones ( #90238 )
...
Upgrades sdk ro v0.238.0
2024-07-10 17:27:51 +02:00
Ryan McKinley
079f0715aa
ResourceServer: Add resource server protobuf and wrapper ( #90007 )
2024-07-09 15:08:13 -07:00
Charandas
c210617735
K8s: use contexthandler in standalone handler chain ( #90102 )
2024-07-08 12:22:10 -07:00
Todd Treece
5f9ce12542
K8s: Generic watch tests ( #90023 )
2024-07-05 21:17:20 +03:00
Todd Treece
274bd08afc
K8s: Improve key generation and parsing ( #90014 )
2024-07-04 01:11:45 +03:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04:00