Add NFS and iSCSI backed StorageClasses

This commit is contained in:
Daniel Cosme
2026-05-01 15:19:46 -04:00
parent 9273ba6c78
commit e967fe72aa
16 changed files with 91 additions and 48 deletions

View File

@@ -1,3 +1,19 @@
---
# ServiceAccount for the CSI driver
apiVersion: v1
kind: ServiceAccount
metadata:
name: truenas-csi-controller-sa
namespace: truenas-csi
---
# ServiceAccount for node plugin
apiVersion: v1
kind: ServiceAccount
metadata:
name: truenas-csi-node-sa
namespace: truenas-csi
---
# ClusterRole for CSI controller
kind: ClusterRole
@@ -300,6 +316,7 @@ spec:
app: truenas-csi-node
spec:
serviceAccountName: truenas-csi-node-sa
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
hostPID: true
hostIPC: true