-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
odf-4.15
-
None
Describe the issue:
In the docs [1] we have the following exmaple of the CM:
apiVersion: v1
data:
[...]
CSI_PLUGIN_TOLERATIONS: |
- key: nodetype
operator: Equal
value: infra
effect: NoSchedule - key: node.ocs.openshift.io/storage
operator: Equal
value: "true"
effect: NoSchedule
[...]
kind: ConfigMap
metadata:
[...]
Below it, we make a note saying:
Ensure that all non-string values in the Tolerations value field has double quotation marks. For example, the values true which is of type boolean, and 1 which is of type int must be input as "true" and "1".
Describe the task you were trying to accomplish:
We don't follow our own guidelines and add " " around the value of true. This doc BZ bug is opened as urgent as this is will cause issues with this working if quotes are not placed around the 'value'
Suggestions for improvement:
Change the example to this:
apiVersion: v1
data:
[...]
CSI_PLUGIN_TOLERATIONS: |
- key: nodetype
operator: Equal
value: "infra"
effect: NoSchedule - key: node.ocs.openshift.io/storage
operator: Equal
value: "true"
effect: NoSchedule
[...]
kind: ConfigMap
metadata:
[...]
Document URL:
https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhodf#managing-container-storage-interface-component-placements_rhodf
Chapter/Section Number and Title:
Product Version:
4.16 and all lower versions of our documentation:
4.15
4.14
4.13
4.12
4.11
4.10
4.9
Environment Details:
Any other versions of this document that also needs this update:
All
Additional information:
N/a
- external trackers