Skip to content

Commit 629934b

Browse files
committed
fix: revert default secret lifetime to 1 day
1 parent 8ea48b6 commit 629934b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust/crd/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ impl HbaseRole {
264264
Duration::from_minutes_unchecked(5);
265265

266266
// Auto TLS certificate lifetime
267-
const DEFAULT_MASTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
268-
const DEFAULT_REGION_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
269-
const DEFAULT_REST_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
267+
const DEFAULT_MASTER_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);
268+
const DEFAULT_REGION_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);
269+
const DEFAULT_REST_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);
270270

271271
pub fn default_config(
272272
&self,

0 commit comments

Comments
 (0)