IAM: Skip token rotation if it has been rotated recently (#106075)

This commit is contained in:
xavi
2025-06-03 08:59:40 +02:00
committed by GitHub
parent 439b8c01b3
commit 86f2bf2940
8 changed files with 119 additions and 6 deletions
+9
View File
@@ -1750,6 +1750,15 @@ var (
HideFromAdminPage: true,
Expression: "false",
},
{
Name: "skipTokenRotationIfRecent",
Description: "Skip token rotation if it was already rotated less than 5 seconds ago",
Stage: FeatureStagePrivatePreview,
Owner: identityAccessTeam,
HideFromAdminPage: true,
HideFromDocs: true,
Expression: "false",
},
}
)
+1
View File
@@ -229,3 +229,4 @@ alertRuleUseFiredAtForStartsAt,experimental,@grafana/alerting-squad,false,false,
alertingBulkActionsInUI,GA,@grafana/alerting-squad,false,false,true
extensionsReadOnlyProxy,experimental,@grafana/plugins-platform-backend,false,false,true
restoreDashboards,experimental,@grafana/grafana-frontend-platform,false,false,false
skipTokenRotationIfRecent,privatePreview,@grafana/identity-access-team,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
229 alertingBulkActionsInUI GA @grafana/alerting-squad false false true
230 extensionsReadOnlyProxy experimental @grafana/plugins-platform-backend false false true
231 restoreDashboards experimental @grafana/grafana-frontend-platform false false false
232 skipTokenRotationIfRecent privatePreview @grafana/identity-access-team false false false
+4
View File
@@ -926,4 +926,8 @@ const (
// FlagRestoreDashboards
// Enables restore deleted dashboards feature
FlagRestoreDashboards = "restoreDashboards"
// FlagSkipTokenRotationIfRecent
// Skip token rotation if it was already rotated less than 5 seconds ago
FlagSkipTokenRotationIfRecent = "skipTokenRotationIfRecent"
)
+18
View File
@@ -3020,6 +3020,24 @@
"codeowner": "@grafana/dashboards-squad"
}
},
{
"metadata": {
"name": "skipTokenRotationIfRecent",
"resourceVersion": "1748363818965",
"creationTimestamp": "2025-05-27T16:30:53Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-05-27 16:36:58.965629 +0000 UTC"
}
},
"spec": {
"description": "Skip token rotation if it was already rotated less than 5 seconds ago",
"stage": "privatePreview",
"codeowner": "@grafana/identity-access-team",
"hideFromAdminPage": true,
"hideFromDocs": true,
"expression": "false"
}
},
{
"metadata": {
"name": "sqlDatasourceDatabaseSelection",