Dashboards: Enable kubernetesDashboards by default (#107618)
* Dashboards: Enable kubernetesDashboards by default * Update integration test to account for the FT being enabled by default Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com> --------- Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com> Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com>
This commit is contained in:
co-authored by
Igor Suleymanov
parent
8dd82c34f7
commit
6c517f82ed
@@ -42,6 +42,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
|
||||
| `dashgpt` | Enable AI powered features in dashboards | Yes |
|
||||
| `panelMonitoring` | Enables panel monitoring through logs and measurements | Yes |
|
||||
| `formatString` | Enable format string transformer | Yes |
|
||||
| `kubernetesDashboards` | Use the kubernetes API in the frontend for dashboards | Yes |
|
||||
| `addFieldFromCalculationStatFunctions` | Add cumulative and window functions to the add field from calculation transformation | Yes |
|
||||
| `annotationPermissionUpdate` | Change the way annotation permissions work by scoping them to folders and dashboards. | Yes |
|
||||
| `dashboardSceneForViewers` | Enables dashboard rendering using Scenes for viewer roles | Yes |
|
||||
|
||||
@@ -270,6 +270,7 @@ export interface FeatureToggles {
|
||||
kubernetesLibraryPanels?: boolean;
|
||||
/**
|
||||
* Use the kubernetes API in the frontend for dashboards
|
||||
* @default true
|
||||
*/
|
||||
kubernetesDashboards?: boolean;
|
||||
/**
|
||||
|
||||
@@ -450,9 +450,10 @@ var (
|
||||
{
|
||||
Name: "kubernetesDashboards",
|
||||
Description: "Use the kubernetes API in the frontend for dashboards",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAppPlatformSquad,
|
||||
Stage: FeatureStageGeneralAvailability,
|
||||
Owner: grafanaDashboardsSquad,
|
||||
FrontendOnly: true,
|
||||
Expression: "true", // enabled by default
|
||||
},
|
||||
{
|
||||
Name: "kubernetesShortURLs",
|
||||
|
||||
@@ -57,7 +57,7 @@ disableClassicHTTPHistogram,experimental,@grafana/grafana-backend-services-squad
|
||||
formatString,GA,@grafana/dataviz-squad,false,false,true
|
||||
kubernetesSnapshots,experimental,@grafana/grafana-app-platform-squad,false,true,false
|
||||
kubernetesLibraryPanels,experimental,@grafana/grafana-app-platform-squad,false,true,false
|
||||
kubernetesDashboards,experimental,@grafana/grafana-app-platform-squad,false,false,true
|
||||
kubernetesDashboards,GA,@grafana/dashboards-squad,false,false,true
|
||||
kubernetesShortURLs,experimental,@grafana/grafana-app-platform-squad,false,true,false
|
||||
dashboardDisableSchemaValidationV1,experimental,@grafana/grafana-app-platform-squad,false,false,false
|
||||
dashboardDisableSchemaValidationV2,experimental,@grafana/grafana-app-platform-squad,false,false,false
|
||||
|
||||
|
@@ -1899,14 +1899,18 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "kubernetesDashboards",
|
||||
"resourceVersion": "1753448760331",
|
||||
"creationTimestamp": "2024-06-05T14:34:23Z"
|
||||
"resourceVersion": "1755157224830",
|
||||
"creationTimestamp": "2024-06-05T14:34:23Z",
|
||||
"annotations": {
|
||||
"grafana.app/updatedTimestamp": "2025-08-14 07:40:24.830741 +0000 UTC"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"description": "Use the kubernetes API in the frontend for dashboards",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/grafana-app-platform-squad",
|
||||
"frontend": true
|
||||
"stage": "GA",
|
||||
"codeowner": "@grafana/dashboards-squad",
|
||||
"frontend": true,
|
||||
"expression": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -159,7 +159,7 @@ func TestIntegrationDashboardAPIAuthorization(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("Dashboard permission tests", func(t *testing.T) {
|
||||
runDashboardPermissionTests(t, org1Ctx, false)
|
||||
runDashboardPermissionTests(t, org1Ctx, true)
|
||||
})
|
||||
|
||||
t.Run("Cross-organization tests", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user