Plugins: Add ability to run backend plugins in containers (#110534)
* add client cfg for containers * remove unused code * add field for skip host env for proto client * add docker to Swagger ignore * add to enterprise swagger gen * undo go.mod changes * pass container image * propagate container image field
This commit is contained in:
@@ -1993,6 +1993,14 @@ var (
|
||||
Owner: grafanaPluginsPlatformSquad,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "pluginContainers",
|
||||
Description: "Enables running plugins in containers",
|
||||
Stage: FeatureStagePrivatePreview,
|
||||
Owner: grafanaPluginsPlatformSquad,
|
||||
Expression: "false",
|
||||
RequiresRestart: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -255,3 +255,4 @@ graphiteBackendMode,privatePreview,@grafana/partner-datasources,false,false,fals
|
||||
azureResourcePickerUpdates,preview,@grafana/partner-datasources,false,false,true
|
||||
prometheusTypeMigration,experimental,@grafana/partner-datasources,false,true,false
|
||||
dskitBackgroundServices,experimental,@grafana/plugins-platform-backend,false,true,false
|
||||
pluginContainers,privatePreview,@grafana/plugins-platform-backend,false,true,false
|
||||
|
||||
|
@@ -1030,4 +1030,8 @@ const (
|
||||
// FlagDskitBackgroundServices
|
||||
// Enables dskit background service wrapper
|
||||
FlagDskitBackgroundServices = "dskitBackgroundServices"
|
||||
|
||||
// FlagPluginContainers
|
||||
// Enables running plugins in containers
|
||||
FlagPluginContainers = "pluginContainers"
|
||||
)
|
||||
|
||||
@@ -2593,6 +2593,20 @@
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "pluginContainers",
|
||||
"resourceVersion": "1756911074581",
|
||||
"creationTimestamp": "2025-09-03T14:51:14Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables running plugins in containers",
|
||||
"stage": "privatePreview",
|
||||
"codeowner": "@grafana/plugins-platform-backend",
|
||||
"requiresRestart": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "pluginProxyPreserveTrailingSlash",
|
||||
|
||||
@@ -4,13 +4,12 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/grafana/grafana/pkg/util"
|
||||
|
||||
"github.com/grafana/grafana-azure-sdk-go/v2/azsettings"
|
||||
|
||||
"github.com/grafana/grafana/pkg/plugins/config"
|
||||
"github.com/grafana/grafana/pkg/services/featuremgmt"
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
"github.com/grafana/grafana/pkg/util"
|
||||
)
|
||||
|
||||
// ProvidePluginManagementConfig returns a new config.PluginManagementCfg.
|
||||
|
||||
Reference in New Issue
Block a user