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 <taraasrita@ibm.com>
This commit is contained in:
1 parent
7ba58b6926
commit
dcb501de56
1 file changed
+3
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user