CloudMigrations: Enable feature toggle by default in 11.5 (#98686)
* update toggle state for 11.5 * remove unneeded e2c toggle * remove public preview condition * regen some stuff
This commit is contained in:
@@ -1028,10 +1028,10 @@ var (
|
||||
},
|
||||
{
|
||||
Name: "onPremToCloudMigrations",
|
||||
Description: "Enable the Grafana Migration Assistant, which helps you easily migrate on-prem dashboards, folders, and data source configurations to your Grafana Cloud stack.",
|
||||
Description: "Enable the Grafana Migration Assistant, which helps you easily migrate on-prem resources, such as dashboards, folders, and data source configurations, to your Grafana Cloud stack.",
|
||||
Stage: FeatureStagePublicPreview,
|
||||
Owner: grafanaOperatorExperienceSquad,
|
||||
Expression: "false",
|
||||
Expression: "true",
|
||||
},
|
||||
{
|
||||
Name: "onPremToCloudMigrationsAuthApiMig",
|
||||
|
||||
@@ -552,7 +552,7 @@ const (
|
||||
FlagJitterAlertRulesWithinGroups = "jitterAlertRulesWithinGroups"
|
||||
|
||||
// FlagOnPremToCloudMigrations
|
||||
// Enable the Grafana Migration Assistant, which helps you easily migrate on-prem dashboards, folders, and data source configurations to your Grafana Cloud stack.
|
||||
// Enable the Grafana Migration Assistant, which helps you easily migrate on-prem resources, such as dashboards, folders, and data source configurations, to your Grafana Cloud stack.
|
||||
FlagOnPremToCloudMigrations = "onPremToCloudMigrations"
|
||||
|
||||
// FlagOnPremToCloudMigrationsAuthApiMig
|
||||
|
||||
@@ -2598,17 +2598,17 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "onPremToCloudMigrations",
|
||||
"resourceVersion": "1721693547668",
|
||||
"resourceVersion": "1736458171023",
|
||||
"creationTimestamp": "2024-01-22T16:09:08Z",
|
||||
"annotations": {
|
||||
"grafana.app/updatedTimestamp": "2024-07-23 00:12:27.668899 +0000 UTC"
|
||||
"grafana.app/updatedTimestamp": "2025-01-09 21:29:31.023464 +0000 UTC"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enable the Grafana Migration Assistant, which helps you easily migrate on-prem dashboards, folders, and data source configurations to your Grafana Cloud stack.",
|
||||
"description": "Enable the Grafana Migration Assistant, which helps you easily migrate on-prem resources, such as dashboards, folders, and data source configurations, to your Grafana Cloud stack.",
|
||||
"stage": "preview",
|
||||
"codeowner": "@grafana/grafana-operator-experience-squad",
|
||||
"expression": "false"
|
||||
"expression": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -172,8 +172,8 @@ func verifyFlagsConfiguration(t *testing.T) {
|
||||
|
||||
// Check that all flags set in code are valid
|
||||
for _, flag := range standardFeatureFlags {
|
||||
if flag.Expression == "true" && !(flag.Stage == FeatureStageGeneralAvailability || flag.Stage == FeatureStageDeprecated) {
|
||||
t.Errorf("only FeatureStageGeneralAvailability or FeatureStageDeprecated features can be enabled by default. See: %s", flag.Name)
|
||||
if flag.Expression == "true" && !(flag.Stage == FeatureStageGeneralAvailability || flag.Stage == FeatureStageDeprecated || flag.Stage == FeatureStagePublicPreview) {
|
||||
t.Errorf("only features that are FeatureStagePublicPreview, FeatureStageGeneralAvailability, or FeatureStageDeprecated can be enabled by default. See: %s", flag.Name)
|
||||
}
|
||||
if flag.RequiresDevMode && flag.Stage != FeatureStageExperimental {
|
||||
t.Errorf("only alpha features can require dev mode. See: %s", flag.Name)
|
||||
|
||||
Reference in New Issue
Block a user