Skip to content

Volume Snapshot

Appears in

  • .Values.volumeSnapshots

volumeSnapshots

Define a volume snapshot

KeyvolumeSnapshots
Typemap
Required
Helm tpl
Default{}

Example

volumeSnapshots: {}

$name

Define a volume snapshot

KeyvolumeSnapshots.$name
Typemap
Required
Helm tpl
Default{}

Example

volumeSnapshots:
example1: {}

labels

Define the labels of the volume snapshot

KeyvolumeSnapshots.$name.labels
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

volumeSnapshots:
example1:
labels:
key: value

annotations

Define the annotations of the volume snapshot class

KeyvolumeSnapshots.$name.annotations
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

volumeSnapshots:
example1:
annotations:
key: value

enabled

Enable volume snapshot

KeyvolumeSnapshots.$name.enabled
Typebool
Required
Helm tpl
Defaultfalse

Example

volumeSnapshots:
example1:
enabled: true

source

Define the source of the volume snapshot

KeyvolumeSnapshots.$name.source
Typemap
Required
Helm tpl
Default{}

Example

volumeSnapshots:
example1:
enabled: true
source: {}
volumeSnapshotContentName

Define the volume snapshot content name

KeyvolumeSnapshots.$name.source.volumeSnapshotContentName
Typestring
Required
Helm tpl
Default""

Example

volumeSnapshots:
example1:
enabled: true
source:
volumeSnapshotContentName: some-name

persistentVolumeClaimName

Define the persistent volume claim name

KeyvolumeSnapshots.$name.source.persistentVolumeClaimName
Typestring
Required
Helm tpl
Default""

Example

volumeSnapshots:
example1:
enabled: true
source:
persistentVolumeClaimName: some-pvc-name

Full Examples

volumeSnapshots:
example1:
enabled: true
source:
volumeSnapshotContentName: some-name
example2:
enabled: true
source:
persistentVolumeClaimName: some-pvc-name