add toggle

This commit is contained in:
Will Browne 2025-10-03 12:20:19 +01:00
parent 72a8dc4887
commit 2b40822cba
No known key found for this signature in database
5 changed files with 31 additions and 0 deletions

View File

@ -1202,4 +1202,9 @@ export interface FeatureToggles {
* @default false
*/
cdnPluginsLoadFirst?: boolean;
/**
* Enable loading plugins via declarative URLs
* @default false
*/
cdnPluginsUrls?: boolean;
}

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",
},
}
)

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

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"
)

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",