Skip to content

Allow specifying a threshold to prevent soon-expiring CAs from being published #632

@dervoeti

Description

@dervoeti

Needed for #625

I propose adding a new optional field caExpiryThreshold to the TrustStore CRD resource.

apiVersion: secrets.stackable.tech/v1alpha1
kind: TrustStore
metadata:
  name: truststore-cas
spec:
  secretClassName: tls-ca
  format: tls-pem
  caExpiryThreshold: 1d

CAs that are expired or will expire in the next 24 hours would not be available in the ConfigMap.

Currently, even expires CAs are persent in the ConfigMap. That behavior would not change if caExpiryThreshold is not defined, so the change is backwards compatible.

Implementation: #633

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions