K8s: Enable kubernetesClientDashboardsFolders by default (#103843)

pull/103850/head^2
Stephanie Hingtgen 3 months ago committed by GitHub
parent 1291b60bbe
commit 88391b173e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  3. 3
      pkg/services/featuremgmt/registry.go
  4. 2
      pkg/services/featuremgmt/toggles_gen.csv
  5. 12
      pkg/services/featuremgmt/toggles_gen.json

@ -47,6 +47,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `panelMonitoring` | Enables panel monitoring through logs and measurements | Yes |
| `formatString` | Enable format string transformer | Yes |
| `kubernetesPlaylists` | Use the kubernetes API in the frontend for playlists, and route /api/playlist requests to k8s | Yes |
| `kubernetesClientDashboardsFolders` | Route the folder and dashboard service requests to k8s | Yes |
| `recoveryThreshold` | Enables feature recovery threshold (aka hysteresis) for threshold server-side expression | Yes |
| `lokiStructuredMetadata` | Enables the loki data source to request structured metadata from the Loki server | Yes |
| `addFieldFromCalculationStatFunctions` | Add cumulative and window functions to the add field from calculation transformation | Yes |
@ -156,7 +157,6 @@ Experimental features might be changed or removed without prior notice.
| `disableClassicHTTPHistogram` | Disables classic HTTP Histogram (use with enableNativeHTTPHistogram) |
| `kubernetesSnapshots` | Routes snapshot requests from /api to the /apis endpoint |
| `kubernetesDashboards` | Use the kubernetes API in the frontend for dashboards |
| `kubernetesClientDashboardsFolders` | Route the folder and dashboard service requests to k8s |
| `datasourceQueryTypes` | Show query type endpoints in datasource API servers (currently hardcoded for testdata, expressions, and prometheus) |
| `queryService` | Register /apis/query.grafana.app/ -- will eventually replace /api/ds/query |
| `queryServiceRewrite` | Rewrite requests targeting /ds/query to the query service |

@ -336,6 +336,7 @@ export interface FeatureToggles {
kubernetesDashboards?: boolean;
/**
* Route the folder and dashboard service requests to k8s
* @default true
*/
kubernetesClientDashboardsFolders?: boolean;
/**

@ -564,8 +564,9 @@ var (
{
Name: "kubernetesClientDashboardsFolders",
Description: "Route the folder and dashboard service requests to k8s",
Stage: FeatureStageExperimental,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaAppPlatformSquad,
Expression: "true", // enabled by default
},
{
Name: "datasourceQueryTypes",

@ -72,7 +72,7 @@ formatString,GA,@grafana/dataviz-squad,false,false,true
kubernetesPlaylists,GA,@grafana/grafana-app-platform-squad,false,true,false
kubernetesSnapshots,experimental,@grafana/grafana-app-platform-squad,false,true,false
kubernetesDashboards,experimental,@grafana/grafana-app-platform-squad,false,false,true
kubernetesClientDashboardsFolders,experimental,@grafana/grafana-app-platform-squad,false,false,false
kubernetesClientDashboardsFolders,GA,@grafana/grafana-app-platform-squad,false,false,false
datasourceQueryTypes,experimental,@grafana/grafana-app-platform-squad,false,true,false
queryService,experimental,@grafana/grafana-app-platform-squad,false,true,false
queryServiceRewrite,experimental,@grafana/grafana-app-platform-squad,false,true,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
72 kubernetesPlaylists GA @grafana/grafana-app-platform-squad false true false
73 kubernetesSnapshots experimental @grafana/grafana-app-platform-squad false true false
74 kubernetesDashboards experimental @grafana/grafana-app-platform-squad false false true
75 kubernetesClientDashboardsFolders experimental GA @grafana/grafana-app-platform-squad false false false
76 datasourceQueryTypes experimental @grafana/grafana-app-platform-squad false true false
77 queryService experimental @grafana/grafana-app-platform-squad false true false
78 queryServiceRewrite experimental @grafana/grafana-app-platform-squad false true false

@ -1644,13 +1644,17 @@
{
"metadata": {
"name": "kubernetesClientDashboardsFolders",
"resourceVersion": "1743693517832",
"creationTimestamp": "2025-02-18T21:15:35Z"
"resourceVersion": "1744337414536",
"creationTimestamp": "2025-02-18T21:15:35Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-04-11 02:10:14.536012 +0000 UTC"
}
},
"spec": {
"description": "Route the folder and dashboard service requests to k8s",
"stage": "experimental",
"codeowner": "@grafana/grafana-app-platform-squad"
"stage": "GA",
"codeowner": "@grafana/grafana-app-platform-squad",
"expression": "true"
}
},
{

Loading…
Cancel
Save