Plugins: Add toggle for plugin CDN URLs (#111985)

add toggle
This commit is contained in:
Will Browne
2025-10-03 16:28:51 +01:00
committed by GitHub
parent 02fb28a478
commit 99784bea14
5 changed files with 31 additions and 0 deletions
@@ -1202,4 +1202,9 @@ export interface FeatureToggles {
* @default false
*/
cdnPluginsLoadFirst?: boolean;
/**
* Enable loading plugins via declarative URLs
* @default false
*/
cdnPluginsUrls?: boolean;
}
+8
View File
@@ -2084,6 +2084,14 @@ var (
Owner: grafanaPluginsPlatformSquad,
Expression: "false",
},
{
Name: "cdnPluginsUrls",
Description: "Enable loading plugins via declarative URLs",
Stage: FeatureStageExperimental,
FrontendOnly: false,
Owner: grafanaPluginsPlatformSquad,
Expression: "false",
},
}
)
+1
View File
@@ -267,3 +267,4 @@ pluginContainers,privatePreview,@grafana/plugins-platform-backend,false,true,fal
tempoSearchBackendMigration,GA,@grafana/oss-big-tent,false,true,false
filterOutBotsFromFrontendLogs,experimental,@grafana/plugins-platform-backend,false,false,true
cdnPluginsLoadFirst,experimental,@grafana/plugins-platform-backend,false,false,false
cdnPluginsUrls,experimental,@grafana/plugins-platform-backend,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
267 tempoSearchBackendMigration GA @grafana/oss-big-tent false true false
268 filterOutBotsFromFrontendLogs experimental @grafana/plugins-platform-backend false false true
269 cdnPluginsLoadFirst experimental @grafana/plugins-platform-backend false false false
270 cdnPluginsUrls experimental @grafana/plugins-platform-backend false false false
+4
View File
@@ -1077,4 +1077,8 @@ const (
// FlagCdnPluginsLoadFirst
// Prioritize loading plugins from the CDN before other sources
FlagCdnPluginsLoadFirst = "cdnPluginsLoadFirst"
// FlagCdnPluginsUrls
// Enable loading plugins via declarative URLs
FlagCdnPluginsUrls = "cdnPluginsUrls"
)
+13
View File
@@ -903,6 +903,19 @@
"expression": "false"
}
},
{
"metadata": {
"name": "cdnPluginsUrls",
"resourceVersion": "1759489886228",
"creationTimestamp": "2025-10-03T11:11:26Z"
},
"spec": {
"description": "Enable loading plugins via declarative URLs",
"stage": "experimental",
"codeowner": "@grafana/plugins-platform-backend",
"expression": "false"
}
},
{
"metadata": {
"name": "cloudRBACRoles",