1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/dynamic-provisioning-defining-storage-class.adoc
Steven Smith 858ec7700b 4
2022-12-15 20:24:36 +00:00

27 lines
931 B
Plaintext

// Module included in the following assemblies:
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
[id="defining-storage-classes_{context}"]
= Defining a storage class
`StorageClass` objects are currently a globally scoped object and must be
created by `cluster-admin` or `storage-admin` users.
ifndef::microshift[]
[IMPORTANT]
====
The Cluster Storage Operator might install a default storage class depending
on the platform in use. This storage class is owned and controlled by the
operator. It cannot be deleted or modified beyond defining annotations
and labels. If different behavior is desired, you must define a custom
storage class.
====
endif::microshift[]
The following sections describe the basic definition for a
`StorageClass` object and specific examples for each of the supported plug-in types.