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
Max Bridges b5fc467d1f add content types to untagged modules
OSDOCS-16694
2025-10-31 21:02:28 -04:00

33 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * storage/dynamic-provisioning.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
:_mod-docs-content-type: CONCEPT
[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,openshift-rosa,openshift-rosa-hcp[]
[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,openshift-rosa,openshift-rosa-hcp[]
ifdef::openshift-rosa,openshift-rosa-hcp[]
[IMPORTANT]
====
The Cluster Storage Operator installs a default storage class. 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::openshift-rosa,openshift-rosa-hcp[]
The following sections describe the basic definition for a
`StorageClass` object and specific examples for each of the supported plugin types.