From b1be42f5366d51eeeaebe7568d74b505ce16a4fc Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:30:32 +0100 Subject: [PATCH] fix: revert secret lifetime to 1 day (#666) --- rust/crd/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rust/crd/src/lib.rs b/rust/crd/src/lib.rs index 873321e5..9ee776d1 100644 --- a/rust/crd/src/lib.rs +++ b/rust/crd/src/lib.rs @@ -153,11 +153,11 @@ const DEFAULT_ROUTER_GRACEFUL_SHUTDOWN_TIMEOUT: Duration = Duration::from_minute const DEFAULT_HISTORICAL_GRACEFUL_SHUTDOWN_TIMEOUT: Duration = Duration::from_minutes_unchecked(5); // Auto TLS certificate lifetime -const DEFAULT_BROKER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); -const DEFAULT_COORDINATOR_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); -const DEFAULT_MIDDLE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); -const DEFAULT_ROUTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); -const DEFAULT_HISTORICAL_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); +const DEFAULT_BROKER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); +const DEFAULT_COORDINATOR_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); +const DEFAULT_MIDDLE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); +const DEFAULT_ROUTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); +const DEFAULT_HISTORICAL_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); #[derive(Snafu, Debug, EnumDiscriminants)] #[strum_discriminants(derive(IntoStaticStr))]