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