Skip to content

Commit

Permalink
fix: revert default secret lifetime to 1 day (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan authored Dec 9, 2024
1 parent 44f822a commit 16aedcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ pub struct NifiConfig {

impl NifiConfig {
// Auto TLS certificate lifetime
const DEFAULT_NODE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
const DEFAULT_NODE_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);

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

0 comments on commit 16aedcd

Please sign in to comment.