Skip to content

Commit 3f93ada

Browse files
committed
certrotationcontroller: extend node-system-admin-signer lifetime
This signer is used to issue the certificate for node-system-admin-client. The target certificate is expected to last 2 years, however it cannot be valid longer that its signer. As a result, signer validity is extended to 3 years, being refreshed at 80% of its lifetime (2.5 years)
1 parent e69ff94 commit 3f93ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/operator/certrotationcontroller/certrotationcontroller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,10 +812,10 @@ func newCertRotationController(
812812
AutoRegenerateAfterOfflineExpiry: "https://github.com/openshift/cluster-kube-apiserver-operator/pull/1631,'[Conformance][sig-api-machinery][Feature:APIServer] local kubeconfig \"localhost-recovery.kubeconfig\" should be present on all masters and work [apigroup:config.openshift.io] [Suite:openshift/conformance/parallel/minimal]'",
813813
Description: "Signer for the per-master-debugging-client.",
814814
},
815-
Validity: devRotationExceptionYear,
815+
Validity: 3 * devRotationExceptionYear,
816816
// Refresh set to 80% of the validity.
817817
// This range is consistent with most other signers defined in this pkg.
818-
Refresh: devRotationExceptionTenMonth,
818+
Refresh: 3 * devRotationExceptionTenMonth,
819819
RefreshOnlyWhenExpired: refreshOnlyWhenExpired,
820820
Informer: kubeInformersForNamespaces.InformersFor(operatorclient.OperatorNamespace).Core().V1().Secrets(),
821821
Lister: kubeInformersForNamespaces.InformersFor(operatorclient.OperatorNamespace).Core().V1().Secrets().Lister(),

0 commit comments

Comments
 (0)