From 0fad69d3f05d86bae489720b8e26b2c8d173befb Mon Sep 17 00:00:00 2001 From: Rambohang <554357994@qq.com> Date: Mon, 23 Sep 2024 09:05:28 +0800 Subject: [PATCH] extend the validity of the vc certificate Signed-off-by: Rambohang <554357994@qq.com> --- pkg/kubenest/constants/constant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubenest/constants/constant.go b/pkg/kubenest/constants/constant.go index 678893f52..f15d9440b 100644 --- a/pkg/kubenest/constants/constant.go +++ b/pkg/kubenest/constants/constant.go @@ -35,7 +35,7 @@ const ( RsaKeySize = 2048 KeyExtension = ".key" CertExtension = ".crt" - CertificateValidity = time.Hour * 24 * 365 + CertificateValidity = time.Hour * 24 * 365 * 100 CaCertAndKeyName = "ca" VirtualClusterCertAndKeyName = "virtualCluster" VirtualClusterSystemNamespace = "virtualCluster-system"