Storage Classes are not showing up in the results when using CLI

Posted on

Storage class details are not being retrieved by kubectl or oc cli when we use "kubectl get pvc" or "oc get pvc", but the storage class is visible in web console. Due to the above issue, when I deploy an application that refers to the storage class defined, the pods are not getting deployed.

Here are the environment details:
Centos 7.7
crc version: 1.7.0+fa7e558
OpenShift version: 4.3.1 (embedded in binary)
The files for yaml file for class is attached.

Responses