Skip to content

Commit 8e9f70e

Browse files
author
Vadim Rutkovsky
committed
HACK: don't change rotation period for kube-apiserver-to-kubelet-signer
1 parent 7a60d73 commit 8e9f70e

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
@@ -206,10 +206,10 @@ func newCertRotationController(
206206
AutoRegenerateAfterOfflineExpiry: "https://github.com/openshift/cluster-kube-apiserver-operator/pull/1631,'[sig-cli] Kubectl logs logs should be able to retrieve and filter logs [Conformance] [Suite:openshift/conformance/parallel/minimal] [Suite:k8s]'",
207207
Description: "Signer for the kube-apiserver-to-kubelet-client so kubelets can recognize the kube-apiserver.",
208208
},
209-
Validity: yearPeriod, // this comes from the installer
209+
Validity: monthPeriod * 2, // this comes from the installer
210210
// Refresh set to 80% of the validity.
211211
// This range is consistent with most other signers defined in this pkg.
212-
Refresh: tenMonthPeriod,
212+
Refresh: monthPeriod,
213213
RefreshOnlyWhenExpired: refreshOnlyWhenExpired,
214214
Informer: kubeInformersForNamespaces.InformersFor(operatorclient.OperatorNamespace).Core().V1().Secrets(),
215215
Lister: kubeInformersForNamespaces.InformersFor(operatorclient.OperatorNamespace).Core().V1().Secrets().Lister(),

0 commit comments

Comments
 (0)