--- # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: local-path-provisioner spec: interval: 30m chart: spec: chart: democratic-csi version: 0.14.6 sourceRef: name: democratic-csi kind: HelmRepository namespace: flux-system values: csiDriver: name: "org.democratic-csi.local-hostpath" attachRequired: false storageCapacity: true # With storage capacity tracking, the scheduler filters out nodes which do not have enough capacity. fsGroupPolicy: File # fsGroupChangePolicy storageClasses: - name: local-hostpath defaultClass: false reclaimPolicy: Delete volumeBindingMode: WaitForFirstConsumer # distributed support is not yet ready for expansion allowVolumeExpansion: false volumeSnapshotClasses: - name: local-hostpath deletionPolicy: Delete parameters: dummy: {} controller: enabled: true strategy: node externalAttacher: enabled: false externalProvisioner: enabled: true image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1@sha256:bf5a235b67d8aea00f5b8ec24d384a2480e1017d5458d8a63b361e9eeb1608a9 extraArgs: - --leader-election=false - --node-deployment=true - --node-deployment-immediate-binding=false - --feature-gates=Topology=true - --strict-topology=true - --enable-capacity=true - --capacity-ownerref-level=1 externalResizer: enabled: false externalSnapshotter: enabled: true extraArgs: - --leader-election=false - --node-deployment=true node: driver: extraVolumeMounts: - name: local-hostpath mountPath: /var/mnt/sata/demo-csi-local-path mountPropagation: Bidirectional driverRegistrar: enabled: true image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1@sha256:f25af73ee708ff9c82595ae99493cdef9295bd96953366cddf36305f82555dac extraVolumes: - name: local-hostpath hostPath: path: /var/mnt/sata/demo-csi-local-path type: DirectoryOrCreate driver: config: driver: local-hostpath instance_id: local-hostpath: shareBasePath: "/var/mnt/sata/demo-csi-local-path" controllerBasePath: "/var/mnt/sata/demo-csi-local-path" dirPermissionsMode: "0770" dirPermissionsUser: 0 dirPermissionsGroup: 0