Skip to content

Commit

Permalink
fix: revert default secret lifetime to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Dec 9, 2024
1 parent 8ea48b6 commit 629934b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 629934b

Please sign in to comment.