mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
FeatureToggles: Add dev only feature toggle for apiserver (#62726)
This commit is contained in:
parent
ba6500576b
commit
d4f4a83574
@ -110,6 +110,7 @@ The following toggles require explicitly setting Grafana's [app mode]({{< relref
|
||||
| `publicDashboardsEmailSharing` | Allows public dashboard sharing to be restricted to only allowed emails |
|
||||
| `k8s` | Explore native k8s integrations |
|
||||
| `k8sDashboards` | Save dashboards via k8s |
|
||||
| `apiserver` | Add a k8s API server proxy |
|
||||
| `dashboardsFromStorage` | Load dashboards from the generic storage interface |
|
||||
| `export` | Export grafana instance (to git, etc) |
|
||||
| `grpcServer` | Run GRPC server |
|
||||
|
@ -43,6 +43,7 @@ export interface FeatureToggles {
|
||||
storage?: boolean;
|
||||
k8s?: boolean;
|
||||
k8sDashboards?: boolean;
|
||||
apiserver?: boolean;
|
||||
supportBundles?: boolean;
|
||||
dashboardsFromStorage?: boolean;
|
||||
export?: boolean;
|
||||
|
@ -154,6 +154,12 @@ var (
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
{
|
||||
Name: "apiserver",
|
||||
Description: "Add a k8s API server proxy",
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
{
|
||||
Name: "supportBundles",
|
||||
Description: "Support bundles for troubleshooting",
|
||||
|
@ -115,6 +115,10 @@ const (
|
||||
// Save dashboards via k8s
|
||||
FlagK8sDashboards = "k8sDashboards"
|
||||
|
||||
// FlagApiserver
|
||||
// Add a k8s API server proxy
|
||||
FlagApiserver = "apiserver"
|
||||
|
||||
// FlagSupportBundles
|
||||
// Support bundles for troubleshooting
|
||||
FlagSupportBundles = "supportBundles"
|
||||
|
Loading…
Reference in New Issue
Block a user