From d268d10fb15f1dccc9ea1af3bb6703431c9ebe96 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Thu, 14 Nov 2024 12:46:07 +0100 Subject: [PATCH] Issue shorter CA --- pkg/controller/pki/pki_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/pki/pki_controller.go b/pkg/controller/pki/pki_controller.go index c2820fd0cb..c4d4f22e0f 100644 --- a/pkg/controller/pki/pki_controller.go +++ b/pkg/controller/pki/pki_controller.go @@ -266,8 +266,8 @@ func newPKI(config *netopv1.OperatorPKI, clientset *kubernetes.Clientset, mgr ma AdditionalAnnotations: certrotation.AdditionalAnnotations{ JiraComponent: names.ClusterNetworkOperatorJiraComponent, }, - Validity: 10 * OneYear, - Refresh: 9 * OneYear, + Validity: certDuration * 2, + Refresh: certDuration, Informer: inf.Core().V1().Secrets(), Lister: inf.Core().V1().Secrets().Lister(), Client: clientset.CoreV1(),