Parameters

The parent key for all of the following parameters is topolvm.

namespace

type

string

default

syn-topolvm

The namespace in which to deploy this component.

deviceclasses

type

list

default

[]

Example

parameters:
  topolvm:
    deviceclasses:
      - name: ssd
        volume-group: vgssd
        spare-gb: 1
        default: true
      - name: hdd
        volume-group: vghdd
        spare-gb: 5
        default: false

storageclasses

type

dictionary

default

{}

Each key represents a different storage class.

class

type

string

Key of the device class used by this storage class.

fstype

type

string

The filesystem that’s used with this storage class.

volumeexpansion

type

boolean

Should volume expansion be allowed with this storage class.

retainpolicy

type

string

Optional, can be used to overwrite the default retain policy.

Example

parameters:
  topolvm:
    storageclasses:
      ssd-local:
        class: ssd
        fstype: ext4
        volumeexpansion: true
        retainpolicy: Retain
      hdd-local:
        class: hdd
        fstype: ext4
        volumeexpansion: true

helmValues

type

dict

default

See class/defaults.yaml

Example

parameters:
  topolvm:
    deviceclasses:
      - name: ssd
        volume-group: vgssd
        spare-gb: 10
        default: true

    storageclasses:
      ssd-local:
        class: ssd
        fstype: ext4
        volumeexpansion: true