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 {
10861086} 
10871087
10881088impl  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 ) ; 
10901090
10911091    pub  fn  default_config ( cluster_name :  & str ,  role :  & HdfsRole )  -> Self  { 
10921092        Self  { 
@@ -1223,7 +1223,7 @@ pub struct DataNodeConfig {
12231223} 
12241224
12251225impl  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 ) ; 
12271227
12281228    pub  fn  default_config ( cluster_name :  & str ,  role :  & HdfsRole )  -> Self  { 
12291229        Self  { 
@@ -1342,7 +1342,7 @@ pub struct JournalNodeConfig {
13421342} 
13431343
13441344impl  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 ) ; 
13461346    pub  fn  default_config ( cluster_name :  & str ,  role :  & HdfsRole )  -> Self  { 
13471347        Self  { 
13481348            resources :  ResourcesFragment  { 
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ apiVersion: kuttl.dev/v1beta1
3131kind : TestAssert 
3232timeout : 600 
3333commands :
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 4444        replicas: 2
4545  dataNodes:
4646    config:
47-       requestedSecretLifetime: 1d 
47+       requestedSecretLifetime: 2d 
4848      logging:
4949        enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
5050    roleGroups:
5858      default:
5959        replicas: 3
6060        config:
61-           requestedSecretLifetime: 2d 
61+           requestedSecretLifetime: 3d 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments