Skip to content

[enterprise-4.3] Edit suggested in file storage/persistent_storage/persistent-storage-local.adoc #20482

Closed
@janehojy

Description

@janehojy

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @janehojy@bobfuru

    Issue actions

      [enterprise-4.3] Edit suggested in file storage/persistent_storage/persistent-storage-local.adoc · Issue #20482 · openshift/openshift-docs