File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
tests/templates/kuttl/kerberos Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1086,7 +1086,7 @@ pub struct NameNodeConfig {
1086
1086
}
1087
1087
1088
1088
impl NameNodeConfigFragment {
1089
- const DEFAULT_NAME_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 7 ) ;
1089
+ const DEFAULT_NAME_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 1 ) ;
1090
1090
1091
1091
pub fn default_config ( cluster_name : & str , role : & HdfsRole ) -> Self {
1092
1092
Self {
@@ -1223,7 +1223,7 @@ pub struct DataNodeConfig {
1223
1223
}
1224
1224
1225
1225
impl DataNodeConfigFragment {
1226
- const DEFAULT_DATA_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 7 ) ;
1226
+ const DEFAULT_DATA_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 1 ) ;
1227
1227
1228
1228
pub fn default_config ( cluster_name : & str , role : & HdfsRole ) -> Self {
1229
1229
Self {
@@ -1342,7 +1342,7 @@ pub struct JournalNodeConfig {
1342
1342
}
1343
1343
1344
1344
impl JournalNodeConfigFragment {
1345
- const DEFAULT_JOURNAL_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 7 ) ;
1345
+ const DEFAULT_JOURNAL_NODE_SECRET_LIFETIME : Duration = Duration :: from_days_unchecked ( 1 ) ;
1346
1346
pub fn default_config ( cluster_name : & str , role : & HdfsRole ) -> Self {
1347
1347
Self {
1348
1348
resources : ResourcesFragment {
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ apiVersion: kuttl.dev/v1beta1
31
31
kind : TestAssert
32
32
timeout : 600
33
33
commands :
34
- - script : kubectl -n $NAMESPACE get sts/hdfs-namenode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "7d ")'
35
- - script : kubectl -n $NAMESPACE get sts/hdfs-datanode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "1d ")'
36
- - script : kubectl -n $NAMESPACE get sts/hdfs-journalnode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "2d ")'
34
+ - script : kubectl -n $NAMESPACE get sts/hdfs-namenode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "1d ")'
35
+ - script : kubectl -n $NAMESPACE get sts/hdfs-datanode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "2d ")'
36
+ - script : kubectl -n $NAMESPACE get sts/hdfs-journalnode-default -o yaml | yq -e '.spec.template.spec.volumes.[] | select(.name == "tls" and .ephemeral.volumeClaimTemplate.metadata.annotations."secrets.stackable.tech/backend.autotls.cert.lifetime" == "3d ")'
Original file line number Diff line number Diff line change 44
44
replicas: 2
45
45
dataNodes:
46
46
config:
47
- requestedSecretLifetime: 1d
47
+ requestedSecretLifetime: 2d
48
48
logging:
49
49
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
50
50
roleGroups:
58
58
default:
59
59
replicas: 3
60
60
config:
61
- requestedSecretLifetime: 2d
61
+ requestedSecretLifetime: 3d
You can’t perform that action at this time.
0 commit comments