Plugins: Expose datasources as apiservers feature toggle (#93250)

This commit is contained in:
Ryan McKinley
2024-09-19 11:28:27 +03:00
committed by GitHub
parent 73eff837e8
commit f21a5987a2
7 changed files with 48 additions and 12 deletions
+8 -1
View File
@@ -517,9 +517,16 @@ var (
FrontendOnly: true,
Owner: grafanaObservabilityTracesAndProfilingSquad,
},
{
Name: "datasourceAPIServers",
Description: "Expose some datasources as apiservers.",
Stage: FeatureStageExperimental,
Owner: grafanaAppPlatformSquad,
RequiresRestart: true, // changes the API routing
},
{
Name: "grafanaAPIServerWithExperimentalAPIs",
Description: "Register experimental APIs with the k8s API server",
Description: "Register experimental APIs with the k8s API server, including all datasources",
Stage: FeatureStageExperimental,
RequiresRestart: true,
RequiresDevMode: true,
+1
View File
@@ -68,6 +68,7 @@ transformationsRedesign,GA,@grafana/observability-metrics,false,false,true
mlExpressions,experimental,@grafana/alerting-squad,false,false,false
traceQLStreaming,GA,@grafana/observability-traces-and-profiling,false,false,true
metricsSummary,experimental,@grafana/observability-traces-and-profiling,false,false,true
datasourceAPIServers,experimental,@grafana/grafana-app-platform-squad,false,true,false
grafanaAPIServerWithExperimentalAPIs,experimental,@grafana/grafana-app-platform-squad,true,true,false
grafanaAPIServerEnsureKubectlAccess,experimental,@grafana/grafana-app-platform-squad,true,true,false
featureToggleAdminPage,experimental,@grafana/grafana-operator-experience-squad,false,true,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
68 mlExpressions experimental @grafana/alerting-squad false false false
69 traceQLStreaming GA @grafana/observability-traces-and-profiling false false true
70 metricsSummary experimental @grafana/observability-traces-and-profiling false false true
71 datasourceAPIServers experimental @grafana/grafana-app-platform-squad false true false
72 grafanaAPIServerWithExperimentalAPIs experimental @grafana/grafana-app-platform-squad true true false
73 grafanaAPIServerEnsureKubectlAccess experimental @grafana/grafana-app-platform-squad true true false
74 featureToggleAdminPage experimental @grafana/grafana-operator-experience-squad false true false
+5 -1
View File
@@ -283,8 +283,12 @@ const (
// Enables metrics summary queries in the Tempo data source
FlagMetricsSummary = "metricsSummary"
// FlagDatasourceAPIServers
// Expose some datasources as apiservers.
FlagDatasourceAPIServers = "datasourceAPIServers"
// FlagGrafanaAPIServerWithExperimentalAPIs
// Register experimental APIs with the k8s API server
// Register experimental APIs with the k8s API server, including all datasources
FlagGrafanaAPIServerWithExperimentalAPIs = "grafanaAPIServerWithExperimentalAPIs"
// FlagGrafanaAPIServerEnsureKubectlAccess
+22 -3
View File
@@ -909,6 +909,22 @@
"expression": "true"
}
},
{
"metadata": {
"name": "datasourceAPIServers",
"resourceVersion": "1726731672938",
"creationTimestamp": "2024-09-12T07:32:40Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-19 07:41:12.938146 +0000 UTC"
}
},
"spec": {
"description": "Expose some datasources as apiservers.",
"stage": "experimental",
"codeowner": "@grafana/grafana-app-platform-squad",
"requiresRestart": true
}
},
{
"metadata": {
"name": "datasourceProxyDisableRBAC",
@@ -1327,11 +1343,14 @@
{
"metadata": {
"name": "grafanaAPIServerWithExperimentalAPIs",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-06T18:55:22Z"
"resourceVersion": "1726731672938",
"creationTimestamp": "2023-10-06T18:55:22Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-19 07:41:12.938146 +0000 UTC"
}
},
"spec": {
"description": "Register experimental APIs with the k8s API server",
"description": "Register experimental APIs with the k8s API server, including all datasources",
"stage": "experimental",
"codeowner": "@grafana/grafana-app-platform-squad",
"requiresDevMode": true,