35 lines
		
	
	
		
			896 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			896 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 
								 | 
							
								apiVersion: v1
							 | 
						||
| 
								 | 
							
								kind: PersistentVolume
							 | 
						||
| 
								 | 
							
								metadata:
							 | 
						||
| 
								 | 
							
								  annotations:
							 | 
						||
| 
								 | 
							
								    pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
							 | 
						||
| 
								 | 
							
								  name: csismb-wizarr-data
							 | 
						||
| 
								 | 
							
								spec:
							 | 
						||
| 
								 | 
							
								  capacity:
							 | 
						||
| 
								 | 
							
								    storage: 1Gi
							 | 
						||
| 
								 | 
							
								  accessModes:
							 | 
						||
| 
								 | 
							
								    - ReadWriteMany
							 | 
						||
| 
								 | 
							
								  persistentVolumeReclaimPolicy: Retain
							 | 
						||
| 
								 | 
							
								  storageClassName: csismb-wizarr-data
							 | 
						||
| 
								 | 
							
								  mountOptions:
							 | 
						||
| 
								 | 
							
								    - dir_mode=0777
							 | 
						||
| 
								 | 
							
								    - file_mode=0777
							 | 
						||
| 
								 | 
							
								    - uid=1000
							 | 
						||
| 
								 | 
							
								    - gid=1000
							 | 
						||
| 
								 | 
							
								    - nobrl
							 | 
						||
| 
								 | 
							
								    - cache=strict
							 | 
						||
| 
								 | 
							
								    - iocharset=utf8
							 | 
						||
| 
								 | 
							
								    - mfsymlinks
							 | 
						||
| 
								 | 
							
								    - noserverino  # required to prevent data corruption
							 | 
						||
| 
								 | 
							
								  csi:
							 | 
						||
| 
								 | 
							
								    driver: smb.csi.k8s.io
							 | 
						||
| 
								 | 
							
								    # volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
							 | 
						||
| 
								 | 
							
								    # make sure this value is unique for every share in the cluster
							 | 
						||
| 
								 | 
							
								    volumeHandle: 192.168.154.195#wizarr#data
							 | 
						||
| 
								 | 
							
								    volumeAttributes:
							 | 
						||
| 
								 | 
							
								      source: //192.168.154.195/K3s.Volumes
							 | 
						||
| 
								 | 
							
								      subDir: wizarr/data
							 | 
						||
| 
								 | 
							
								    nodeStageSecretRef:
							 | 
						||
| 
								 | 
							
								      name: smb-credentials
							 | 
						||
| 
								 | 
							
								      namespace: wizarr
							 |