46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| local-path-provisioner:
 | |
|   image:
 | |
|     repository: rancher/local-path-provisioner
 | |
|     tag: v0.0.30
 | |
|   helperImage:
 | |
|     repository: busybox
 | |
|     tag: 1.37.0
 | |
|   storageClass:
 | |
|     create: true
 | |
|     defaultClass: false
 | |
|     defaultVolumeType: hostPath
 | |
|     name: local-path
 | |
|     reclaimPolicy: Delete
 | |
|     volumeBindingMode: WaitForFirstConsumer
 | |
|   nodePathMap:
 | |
|     - node: talos-di4-2sr
 | |
|       paths:
 | |
|         - /var/local-path-provisioner
 | |
|     - node: talos-iyl-d2a
 | |
|       paths:
 | |
|         - /var/local-path-provisioner
 | |
|     - node: talos-2ok-0ky
 | |
|       paths:
 | |
|         - /var/local-path-provisioner
 | |
|   affinity:
 | |
|     nodeAffinity:
 | |
|       requiredDuringSchedulingIgnoredDuringExecution:
 | |
|         nodeSelectorTerms:
 | |
|           - matchExpressions:
 | |
|             - key: kubernetes.io/hostname
 | |
|               operator: In
 | |
|               values:
 | |
|                 - talos-di4-2sr
 | |
|                 - talos-iyl-d2a
 | |
|                 - talos-2ok-0ky
 | |
|   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"
 |