Skip to content

Commit 251090d

Browse files
razvansbernauer
andauthored
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 <sebastian.bernauer@stackable.de> * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * implement review feedback * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * 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 <sebastian.bernauer@stackable.de>
1 parent beeb769 commit 251090d

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)