From dcb501de56287d481323d3b20b8eefa6cd6f4e31 Mon Sep 17 00:00:00 2001 From: Prabhala Tara Aasrita Date: Tue, 14 Apr 2026 21:25:04 +0530 Subject: [PATCH] helm: set ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS from chart values Previously the unreachable node toleration on the operator pod was hardcoded to 5 seconds in the Helm chart and the ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS env var was notset up at all. This change reads both from .Values.unreachableNodeTolerationSeconds (defaulting to 5). Fixes #17303 Signed-off-by: Prabhala Tara Aasrita --- deploy/charts/rook-ceph/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/charts/rook-ceph/templates/deployment.yaml b/deploy/charts/rook-ceph/templates/deployment.yaml index a7ff567a2..5979425c8 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -36,7 +36,7 @@ spec: - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists - tolerationSeconds: 5 + tolerationSeconds: {{ .Values.unreachableNodeTolerationSeconds }} {{- with .Values.tolerations }} {{- . | toYaml | nindent 8 }} {{- end }} @@ -104,6 +104,8 @@ spec: value: {{ .Values.disableDeviceHotplug | quote }} - name: ROOK_DISCOVER_DEVICES_INTERVAL value: {{ .Values.discoveryDaemonInterval | quote }} + - name: ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS + value: {{ .Values.unreachableNodeTolerationSeconds | quote }} - name: NODE_NAME valueFrom: fieldRef: