From 30ecdc805ff449ac6233fc7816bca622a961b3f6 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 9 Dec 2024 10:47:59 +0100 Subject: [PATCH] fix: revert default secret lifetime to 1 day --- rust/crd/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/crd/src/lib.rs b/rust/crd/src/lib.rs index 863fdf42..5665b82d 100644 --- a/rust/crd/src/lib.rs +++ b/rust/crd/src/lib.rs @@ -440,7 +440,7 @@ pub struct TrinoConfig { } impl TrinoConfig { - const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); + const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); fn default_config( cluster_name: &str, role: &TrinoRole,