Add NFS and iSCSI backed StorageClasses
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user