Remove the need for plugins to implement AdmissionHandler for v0alpha1 (#93272)

This commit is contained in:
Andres Martinez Gotor
2024-09-13 09:08:26 +02:00
committed by GitHub
parent d60a28b3c8
commit 01a4e6b9af
3 changed files with 31 additions and 3 deletions
-2
View File
@@ -66,8 +66,6 @@ func RegisterAPIService(
var err error
var builder *DataSourceAPIBuilder
all := pluginStore.Plugins(context.Background(), plugins.TypeDataSource)
// ATTENTION: Adding a datasource here requires the plugin to implement
// an AdmissionHandler to validate the datasource settings.
ids := []string{
"grafana-testdata-datasource",
"prometheus",