Skip to content

Commit

Permalink
fix: revert default secret lifetime to 1 day (#604)
Browse files Browse the repository at this point in the history
* feat: `requestedSecretLifetime` role group property added

* Update rust/crd/src/lib.rs

Co-authored-by: Sebastian Bernauer <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Sebastian Bernauer <[email protected]>

* implement review feedback

* Update CHANGELOG.md

Co-authored-by: Sebastian Bernauer <[email protected]>

* 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 <[email protected]>
  • Loading branch information
razvan and sbernauer authored Dec 9, 2024
1 parent beeb769 commit 251090d
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 251090d

Please sign in to comment.