Closed
Description
Which section(s) is the issue in?
Persistent storage using local volumes > Using tolerations with Local Storage Operator Pods
What needs fixing?
The sample yaml file is insufficient to create the CR.
apiVersion: "local.storage.openshift.io/v1"
kind: "LocalVolume"
metadata:
name: "local-disks"
namespace: "local-storage"
spec:
tolerations:
- key: localstorage
operator: Equal
value: "localstorage"
$ oc create -f localvolume-cr.yaml
The LocalVolume "local-disks" is invalid: spec.storageClassDevices: Required value
As the error suggests, spec.storageClassDevices
is needed in the yaml file.
Activity