File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
deploy/helm/secret-operator/crds
rust/operator-binary/src/backend/tls Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ All notable changes to this project will be documented in this file.
11
11
- (Recommended) Copying the CA into the new location
12
12
(` kubectl -n default get secret/secret-provisioner-tls-ca -o json | jq '.metadata.namespace = "stackable-operators"' | kubectl create -f- ` )
13
13
- Setting the ` secretClasses.tls.caSecretNamespace ` Helm flag (` --set secretClasses.tls.caSecretNamespace=default ` )
14
+ - Reduce CA default lifetime to one year ([ #403 ] )
14
15
15
16
[ #397 ] : https://github.com/stackabletech/secret-operator/pull/397
17
+ [ #403 ] : https://github.com/stackabletech/secret-operator/pull/403
16
18
17
19
## [ 24.3.0] - 2024-03-20
18
20
Original file line number Diff line number Diff line change 48
48
description : Whether the certificate authority should be managed by Secret Operator, including being generated if it does not already exist.
49
49
type : boolean
50
50
caCertificateLifetime :
51
- default : 730d
51
+ default : 365d
52
52
description : |-
53
53
The lifetime of each generated certificate authority.
54
54
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ use super::{
42
42
mod ca;
43
43
44
44
/// How long CA certificates should last for. Also used for calculating when they should be rotated.
45
- /// Must be less than half of [`DEFAULT_MAX_CERT_LIFETIME `].
46
- pub const DEFAULT_CA_CERT_LIFETIME : Duration = Duration :: from_days_unchecked ( 365 * 2 ) ;
45
+ /// [`DEFAULT_MAX_CERT_LIFETIME`] must be less than half of [`DEFAULT_CA_CERT_LIFETIME `].
46
+ pub const DEFAULT_CA_CERT_LIFETIME : Duration = Duration :: from_days_unchecked ( 365 ) ;
47
47
48
48
/// As the Pods will be evicted [`DEFAULT_CERT_RESTART_BUFFER`] before
49
49
/// the cert actually expires, this results in a restart in approx every 2 weeks,
You can’t perform that action at this time.
0 commit comments