grafana/pkg/services/featuremgmt
Giuseppe Guerra cb0a88a027
Plugins: Backend: Skip host environment variables (#77858)
* Add pluginsSkipHostEnvVars feature flag

* Set go-plugin's SkipHostEnvVar depending on feature flags

* add missing file

* Re-generate feature flags

* Add allowedHostEnvVarNames

* Fix feature toggles not being passed to plugin context service's plugin env vars

* Fix tests

* PR review feedback: Use cfg.Features

* Fix tests

* PR review feedback: removed DefaultProviderWithFeatures

* merge with master

* fix tests

* use features.IsEnabledGlobally
2023-11-15 18:09:14 +01:00
..
strcase Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
testdata FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
codeowners.go Chore: Replace grafana-authnz-team with identity-access-team as code owners (#77609) 2023-11-03 13:20:39 +01:00
manager_test.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
manager.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
models.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
registry.go Plugins: Backend: Skip host environment variables (#77858) 2023-11-15 18:09:14 +01:00
service_test.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
service.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
settings_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
settings.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
toggles_gen_test.go Feature Management: Define HideFromAdminPage and AllowSelfServe configs (#77580) 2023-11-03 15:59:07 +00:00
toggles_gen.csv Plugins: Backend: Skip host environment variables (#77858) 2023-11-15 18:09:14 +01:00
toggles_gen.go Plugins: Backend: Skip host environment variables (#77858) 2023-11-15 18:09:14 +01:00
usage_stats_test.go Dashboards: Remove dummy trim dashboard api (#77249) 2023-11-02 08:35:14 -07:00
usage_stats.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00