You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] make cert-manager Certificate duration configurable #65
Is your feature request related to a problem? Please describe.
Right now the duration of cert-manager issued certificates seems to be hard-coded (to 100 years).
Describe the solution you'd like
A way to configure the duration (something like spec.tls.duration).
Both points raised in this issue are addressed in #92:
Configurable duration: a new spec.tls.duration field is passed through to the generated cert-manager Certificate. When unset, the previous default of 876000h (~100 years) is preserved, so existing Valkey resources are unaffected.
Certificate pickup after rotation: a new spec.annotations field is merged onto the generated StatefulSet metadata. Attaching a pod-reloader annotation that points at the TLS secret triggers an automatic rolling restart, so the pods pick up the rotated certificate.
Activity
cbarbian-sap commentedon Aug 19, 2026
In addition: if the rotation happens, does valkey pick up the new certificate? If not, some automatic pod restart would maybe be necessary.
Allow configuring the certificate duration
martin-briatka commentedon Nov 12, 2026
Both points raised in this issue are addressed in #92:
spec.tls.durationfield is passed through to the generated cert-manager Certificate. When unset, the previous default of876000h(~100 years) is preserved, so existing Valkey resources are unaffected.spec.annotationsfield is merged onto the generated StatefulSet metadata. Attaching a pod-reloader annotation that points at the TLS secret triggers an automatic rolling restart, so the pods pick up the rotated certificate.