FeatureToggle: Add a feature toggle for automatic service account and token setup (#75560)

Add a feature toggle for automatic service account and token setup
This commit is contained in:
Gabriel MABILLE 2023-09-28 09:26:37 +02:00 committed by GitHub
parent b9b4246432
commit 4563fc48af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 5 deletions

View File

@ -146,8 +146,9 @@ Experimental features might be changed or removed without prior notice.
The following toggles require explicitly setting Grafana's [app mode]({{< relref "../_index.md#app_mode" >}}) to 'development' before you can enable this feature toggle. These features tend to be experimental.
| Feature toggle name | Description |
| --------------------- | -------------------------------------------------------------------------------------------- |
| `entityStore` | SQL-based entity store (requires storage flag also) |
| `externalServiceAuth` | Starts an OAuth2 authentication provider for external services |
| `idForwarding` | Generate signed id token for identity that can be forwarded to plugins and external services |
| Feature toggle name | Description |
| ------------------------- | -------------------------------------------------------------------------------------------- |
| `entityStore` | SQL-based entity store (requires storage flag also) |
| `externalServiceAuth` | Starts an OAuth2 authentication provider for external services |
| `idForwarding` | Generate signed id token for identity that can be forwarded to plugins and external services |
| `externalServiceAccounts` | Automatic service account and token setup for plugins |

View File

@ -133,4 +133,5 @@ export interface FeatureToggles {
httpSLOLevels?: boolean;
idForwarding?: boolean;
cloudWatchWildCardDimensionValues?: boolean;
externalServiceAccounts?: boolean;
}

View File

@ -801,5 +801,12 @@ var (
Expression: "true", // enabled by default
Owner: awsDatasourcesSquad,
},
{
Name: "externalServiceAccounts",
Description: "Automatic service account and token setup for plugins",
Stage: FeatureStageExperimental,
RequiresDevMode: true,
Owner: grafanaAuthnzSquad,
},
}
)

View File

@ -114,3 +114,4 @@ pluginsAPIMetrics,experimental,@grafana/plugins-platform-backend,false,false,fal
httpSLOLevels,experimental,@grafana/hosted-grafana-team,false,false,true,false
idForwarding,experimental,@grafana/grafana-authnz-team,true,false,false,false
cloudWatchWildCardDimensionValues,GA,@grafana/aws-datasources,false,false,false,false
externalServiceAccounts,experimental,@grafana/grafana-authnz-team,true,false,false,false

1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
114 httpSLOLevels experimental @grafana/hosted-grafana-team false false true false
115 idForwarding experimental @grafana/grafana-authnz-team true false false false
116 cloudWatchWildCardDimensionValues GA @grafana/aws-datasources false false false false
117 externalServiceAccounts experimental @grafana/grafana-authnz-team true false false false

View File

@ -466,4 +466,8 @@ const (
// FlagCloudWatchWildCardDimensionValues
// Fetches dimension values from CloudWatch to correctly label wildcard dimensions
FlagCloudWatchWildCardDimensionValues = "cloudWatchWildCardDimensionValues"
// FlagExternalServiceAccounts
// Automatic service account and token setup for plugins
FlagExternalServiceAccounts = "externalServiceAccounts"
)