Skip to content

Commit 16aedcd

Browse files
authored
fix: revert default secret lifetime to 1 day (#729)
1 parent 44f822a commit 16aedcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/crd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ pub struct NifiConfig {
420420

421421
impl NifiConfig {
422422
// Auto TLS certificate lifetime
423-
const DEFAULT_NODE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
423+
const DEFAULT_NODE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);
424424

425425
pub fn default_config(cluster_name: &str, role: &NifiRole) -> NifiConfigFragment {
426426
NifiConfigFragment {

0 commit comments

Comments
 (0)