Skip to content

Commit 791d99d

Browse files
committed
fix(kubeovn-webhook): widen serving cert renewBefore to 720h
renewBefore: 24h on a one-year certificate leaves a one-day window for cert-manager to rotate the Secret and for the webhook to pick it up. Widen it to 720h (30 days) so renewal happens well ahead of expiry. Signed-off-by: IvanHunters <[email protected]>
1 parent 44d9f53 commit 791d99d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/system/kubeovn-webhook/templates/certmanager.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ metadata:
3838
spec:
3939
secretName: {{ include "namespace-annotation-webhook.fullname" . }}-tls
4040
duration: 8760h
41-
renewBefore: 24h
41+
renewBefore: 720h
4242
issuerRef:
4343
name: {{ include "namespace-annotation-webhook.fullname" . }}-ca-issuer
4444
commonName: {{ include "namespace-annotation-webhook.fullname" . }}-tls

0 commit comments

Comments
 (0)