15 Commits
Author SHA1 Message Date
Austin Pond 8556e3baca feat(custom routes): Add custom route routing for apiextensions (#130077)
Additional enterprise imports needed for custom route routing functionality.
2026-08-06 09:31:16 -04:00
Austin Pond 417b534688 fix(dashboard): Check for duplicated deprecatedInternalID values in standalone (#128318)
* Require resource.ResourceClient in dashboard.NewAPIService to allow it to pass it through to the DashboardAPIBuilder, ensuring that search can be used to check for duplicated deprecatedInternalID values.

* run make update-workspace
2026-07-13 23:07:21 -07:00
Austin Pond 2de04f26cf chore(deps): Upgrade grafana-app-sdk to v0.54.0 (#123847)
* Upgrade grafana-app-sdk to v0.54.0 and update code and tests to fix breaking changes in resource.ClientGenerator and k8s version upgrade.

* Run public/app/plugins/datasource/grafana-testdata-datasource/schema/v0alpha1.json through jq to format.

* Revert changes to public/app/plugins/datasource/grafana-testdata-datasource/schema/v0alpha1.json as the change seems to be entirely formatting-related.

* Remove getkin/kin-openapi replace directive in apps/plugins/go.mod, and remove yaml replace directives in go.mod as getkin/kin-openapi needs newer versions.

* Regenerate OpenAPI snapshots, which now include new shardSelector query field introduced in k8s 1.36

* Run yarn generate-apis

* Fix linter issues.
2026-04-30 08:46:13 +03:00
Austin Pond 711c81aec7 [chore] Upgrade grafana-app-sdk to v0.51.3 (#118492)
* [chore] Upgrade grafana-app-sdk to v0.51.3, set app roles to empty for each app so that manifest codegen is unchanged.

* Fix linter issues in dashboard conversion tests, ignore linter staticcheck in the IAM app to avoid any additional changes.
2026-02-19 15:35:25 -05:00
Austin Pondandkonsalex 3ed58adf59 [chore] Update go to v1.26.0, and the golangci-lint action to v9 (#118436)
* [chore] Update go to v1.26.0, and the golangci-lint action to v9.

* Use golangci-lint v2.9.0

* Use golang:1.26.0-alpine instead of 1.25.7-alpine

* chore: more go version upgrades

* chore: more updates

* chore: generate apis

* fix: golint issues prealloc etc

* fix: million tiny golint issues

---------

Co-authored-by: konsalex <konstantinos.alexoglou@grafana.com>
2026-02-19 15:04:35 +01:00
Austin Pond a3d2e7c7db [chore] Upgrade grafana-app-sdk from v0.50.2 to v0.50.4 (#118015)
Upgraded grafana-app-sdk from v0.50.2 to v0.50.4
2026-02-13 09:30:44 -05:00
Austin Pond 8e11851bb0 Dashboards: Use the OpenAPI generated by app-sdk in the manifest to … (#114858) 2025-12-06 08:01:28 +00:00
Austin Pond 0f698d08d3 appinstaller: Use grafana-app-sdk apiserver.KubernetesGenericAPIServer to wrap the generic API server (#114654)
[App Platform] Use the app-sdk's apiserver.KubernetesGenericAPIServer in the serverWrapper to ensure that any extra logic for handling WebServices is used.
2025-12-03 11:05:00 -05:00
Austin Pond 0649635639 Apps: call app.Runner().Run() in a goroutine in the post-start hook (#113371)
Run the app runner in a goroutine in the post-start hook, as the '/readyz' endpoint for the API server waits for a non-nil error response from the post-start hook to mark it as ready.
2025-11-03 17:05:20 -05:00
Austin PondandOwen Diehl bf65c43783 Apps: Add Example App to ./apps (#112069)
* [API Server] Add Example App for reference use.

* Remove Printlns.

* Upgrade app-sdk to v0.46.0, update apps to handle breaking changes.

* Only start the reconciler for the example app if the v1alpha1 API version is enabled.

* Some comment doc updates.

* Run make update-workspace

* Set codeowner for /apps/example

* Run make gofmt and make update-workspace

* Run prettier on apps/example/README.md

* Add COPY apps/example to Dockerfile

* Add an authorizer to the example app.

* Fix import ordering.

* Update apps/example/kinds/manifest.cue

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>

* Run make update-workspace

* Re-run make gen-go for enterprise import updates

* Run make update-workspace

---------

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
2025-10-27 12:01:10 -04:00
Austin Pond 56b088aa2e APIServer: Add Method for Installer-Based Apps to Self-Register with the APIRegistrar (#112479)
* [APIServer] Add the method RegisterAPIInstaller to the APIRegistrar interface, and implement it in the builder. This allows new installer-based apps to register themselves in enterprise.

* Rename RegisterAPIInstaller to RegisterAppInstaller
2025-10-21 14:25:16 -04:00
6851ca2988 Docs: Add Additional /apis Versioning Guidance (#109134)
* [docs] Add extra guidance for new /apis versioning.

* Fix typo

* fix typo

* Run prettier on changes.

* Update docs/sources/developers/http_api/apis.md

Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>

* Update docs/sources/developers/http_api/apis.md

Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>

* Update docs/sources/developers/http_api/apis.md

Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>

* Run prettier on doc

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>
2025-10-21 09:22:28 -04:00
Austin PondandRyan McKinley 99312a7582 Apps: Update grafana-app-sdk to v0.46.0 (#112021)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-10-04 09:33:10 +00:00
Austin Pond bc0f746eed apiserver: Allow AppInstaller to Handle Custom Resource Routes (#111381)
[apiserver] Fix appinstaller.serverWrapper.RegisteredWebServices() to return the RegisteredWebServices from the underlying apiserver's Handler's GoRestfulContainer, matching the logic in grafana-app-sdk's apiserver.KubernetesGenericAPIServer
2025-09-23 10:32:03 -04:00
Austin Pond 6222156c7c [Dashboard Schema Codegen] Move dashboard CUE codegen block back up into kind body (#108476)
[Dashboard Schema Codegen] Move dashboard CUE codegen block back up into kind body to make sure new versions have the same settings.
2025-07-22 14:45:06 +00:00