From d236c5a927119d7b75de600628f60e97ad1d93ab Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 12 Jan 2024 12:20:58 +0100 Subject: [PATCH] [DOWNSTREAM-ONLY] deploy: use OpenShift recommended parameters for leader election See-also: csi-addons/kubernetes-csi-addons#505 Signed-off-by: Niels de Vos --- config/manager/manager.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 784a4e760..8f9000488 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -25,6 +25,9 @@ spec: - /csi-addons-manager args: - --leader-elect + - --leader-election-lease-duration=137s + - --leader-election-renew-deadline=107s + - --leader-election-retry-period=26s image: controller:latest name: manager env: