Plugins: Introduce plugin asset provider (#108063)
* introduce plugin asset provider * simply with PR feedback * fix linter
This commit is contained in:
@@ -1809,6 +1809,16 @@ var (
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "pluginAssetProvider",
|
||||
Description: "Allows decoupled core plugins to load from the Grafana CDN",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaPluginsPlatformSquad,
|
||||
HideFromAdminPage: true,
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
RequiresRestart: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -234,3 +234,4 @@ foldersAppPlatformAPI,experimental,@grafana/grafana-search-navigate-organise,fal
|
||||
enablePluginImporter,experimental,@grafana/plugins-platform-backend,false,false,true
|
||||
otelLogsFormatting,experimental,@grafana/observability-logs,false,false,true
|
||||
alertingNotificationHistory,experimental,@grafana/alerting-squad,false,false,false
|
||||
pluginAssetProvider,experimental,@grafana/plugins-platform-backend,false,true,false
|
||||
|
||||
|
@@ -946,4 +946,8 @@ const (
|
||||
// FlagAlertingNotificationHistory
|
||||
// Enables the notification history feature
|
||||
FlagAlertingNotificationHistory = "alertingNotificationHistory"
|
||||
|
||||
// FlagPluginAssetProvider
|
||||
// Allows decoupled core plugins to load from the Grafana CDN
|
||||
FlagPluginAssetProvider = "pluginAssetProvider"
|
||||
)
|
||||
|
||||
@@ -2467,6 +2467,22 @@
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "pluginAssetProvider",
|
||||
"resourceVersion": "1752486584712",
|
||||
"creationTimestamp": "2025-07-14T09:49:44Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Allows decoupled core plugins to load from the Grafana CDN",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/plugins-platform-backend",
|
||||
"requiresRestart": true,
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "pluginProxyPreserveTrailingSlash",
|
||||
@@ -3420,4 +3436,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user