Storage Class
Appears in
.Values.storageClass
Naming scheme
$FullName-$StorageClassName
(release-name-chart-name-storageClassName)
storageClass
Define storage classes
Key | storageClass |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
$name
Define storage class
Key | storageClass.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
enabled
Enables or Disables the storage class
Key | storageClass.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
labels
Additional labels for storage class
Key | storageClass.$name.labels |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
annotations
Additional annotations for storage class
Key | storageClass.$name.annotations |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
provisioner
Define the provisioner for this storage class
Key | storageClass.$name.provisioner |
Type | string |
Required | ✅ |
Helm tpl | ❌ |
Default | "" |
Example
parameters
Define the parameters for this storage class
Key | storageClass.$name.parameters |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
reclaimPolicy
Define the reclaim policy for this storage class
Key | storageClass.$name.reclaimPolicy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | Retain |
Valid values are:
Delete
Retain
Example
allowVolumeExpansion
Define if volume expansion is allowed for this storage class
Key | storageClass.$name.allowVolumeExpansion |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | false |
Example
volumeBindingMode
Define the volume binding mode for this storage class
Key | storageClass.$name.volumeBindingMode |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | Immediate |
Valid values are:
Immediate
WaitForFirstConsumer
Example
mountOptions
Define the mount options for this storage class
Key | storageClass.$name.mountOptions |
Type | list of string |
Required | ❌ |
Helm tpl | ✅ (On each entry only) |
Default | [] |
Example