Files
infrastructure/clusters/cl01tl/storage/local-path-provisioner/values.yaml
2025-02-16 22:41:06 -06:00

46 lines
1.1 KiB
YAML

local-path-provisioner:
image:
repository: rancher/local-path-provisioner
tag: v0.0.31
helperImage:
repository: busybox
tag: 1.37.0
storageClass:
create: true
defaultClass: false
defaultVolumeType: hostPath
name: local-path
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
nodePathMap:
- node: talos-5zy-00y
paths:
- /var/local-path-provisioner
- node: talos-6ht-r95
paths:
- /var/local-path-provisioner
- node: talos-q4m-8t4
paths:
- /var/local-path-provisioner
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- talos-5zy-00y
- talos-6ht-r95
- talos-q4m-8t4
configmap:
name: local-path-config
setup: |-
#!/bin/sh
set -eu
mkdir -m 0777 -p "$VOL_DIR"
teardown: |-
#!/bin/sh
set -eu
rm -rf "$VOL_DIR"