Volume Snapshot
Appears in
Section titled “Appears in”.Values.volumeSnapshots
volumeSnapshots
Section titled “volumeSnapshots”Define a volume snapshot
| Key | volumeSnapshots |
| Type | map |
| Required | ❌ |
Helm tpl | ❌ |
| Default | {} |
Example
volumeSnapshots: {}Define a volume snapshot
| Key | volumeSnapshots.$name |
| Type | map |
| Required | ❌ |
Helm tpl | ❌ |
| Default | {} |
Example
volumeSnapshots: example1: {}labels
Section titled “labels”Define the labels of the volume snapshot
| Key | volumeSnapshots.$name.labels |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
volumeSnapshots: example1: labels: key: valueannotations
Section titled “annotations”Define the annotations of the volume snapshot class
| Key | volumeSnapshots.$name.annotations |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
volumeSnapshots: example1: annotations: key: valueenabled
Section titled “enabled”Enable volume snapshot
| Key | volumeSnapshots.$name.enabled |
| Type | bool |
| Required | ✅ |
Helm tpl | ✅ |
| Default | false |
Example
volumeSnapshots: example1: enabled: truesource
Section titled “source”Define the source of the volume snapshot
| Key | volumeSnapshots.$name.source |
| Type | map |
| Required | ✅ |
Helm tpl | ❌ |
| Default | {} |
Example
volumeSnapshots: example1: enabled: true source: {}volumeSnapshotContentName
Section titled “volumeSnapshotContentName”Define the volume snapshot content name
| Key | volumeSnapshots.$name.source.volumeSnapshotContentName |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | "" |
Example
volumeSnapshots: example1: enabled: true source: volumeSnapshotContentName: some-namepersistentVolumeClaimName
Section titled “persistentVolumeClaimName”Define the persistent volume claim name
| Key | volumeSnapshots.$name.source.persistentVolumeClaimName |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | "" |
Example
volumeSnapshots: example1: enabled: true source: persistentVolumeClaimName: some-pvc-nameFull Examples
Section titled “Full Examples”volumeSnapshots: example1: enabled: true source: volumeSnapshotContentName: some-name example2: enabled: true source: persistentVolumeClaimName: some-pvc-name