From 251090de98d589592a50245d9857c0a93dc4b393 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:33:01 +0100 Subject: [PATCH] fix: revert default secret lifetime to 1 day (#604) * feat: `requestedSecretLifetime` role group property added * Update rust/crd/src/lib.rs Co-authored-by: Sebastian Bernauer * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer * implement review feedback * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer * point to op-rs main * apply review patch * apply review patch 2 * chore: bump op-rs * cargo update -p rustls * fix: revert default secret lifetime to 1 day --------- Co-authored-by: Sebastian Bernauer --- rust/crd/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/crd/src/lib.rs b/rust/crd/src/lib.rs index 321b1d33..ff751e0b 100644 --- a/rust/crd/src/lib.rs +++ b/rust/crd/src/lib.rs @@ -264,9 +264,9 @@ impl HbaseRole { Duration::from_minutes_unchecked(5); // Auto TLS certificate lifetime - const DEFAULT_MASTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); - const DEFAULT_REGION_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); - const DEFAULT_REST_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7); + const DEFAULT_MASTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); + const DEFAULT_REGION_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); + const DEFAULT_REST_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1); pub fn default_config( &self,