image: pullPolicy: Never # because for tests, we put the file in containerd manually repository: quay.io/refi64/topolvm-stratis # Only a single test node, so rolling updates or >1 replica aren't working. controller: replicaCount: 1 updateStrategy: type: Recreate rollingUpdate: null lvmd: # Add the D-Bus socket, to talk to stratisd. additionalVolumes: - name: dbus hostPath: path: /run/dbus/system_bus_socket type: Socket # Ditto, but the helm chart has no "additionalVolumeMounts", so also mount # the default lvmd socket directory. volumeMounts: - name: lvmd-socket-dir mountPath: /run/topolvm - name: dbus mountPath: /run/dbus/system_bus_socket # You can normally leave this unset, because 'serve' is the default command. args: - serve # DO NOT COPY THIS — it is specifically for the tests only. - --unsafe-world-writable-socket # Need to always set this manually. deviceClasses: - name: primary # Note that 'volume-group' is renamed to 'pool'. pool: topolvm-primary default: true spare-gb: 2 - name: secondary pool: topolvm-secondary spare-gb: 4 - name: nonexistent pool: nonexistent # Can usually leave unset; here debug logging is flipped on for running tests. env: - name: RUST_LOG value: info,lvmd_stratis=debug # Since the device classes are manually set, also set the storage classes # manually. (Not needed if you only care about the default device class.) storageClasses: - name: topolvm-provisioner storageClass: fsType: xfs annotations: {} volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true additionalParameters: {} mountOptions: [] - name: topolvm-provisioner-secondary storageClass: fsType: xfs annotations: {} volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true additionalParameters: topolvm.io/device-class: secondary mountOptions: []