mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-08 01:21:25 +02:00
node-manual, dep updates
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: iscsi-manual
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
# can be used to handle CHAP
|
||||
# in the secret create the following keys:
|
||||
#
|
||||
# # any arbitrary iscsiadm entries can be add by creating keys starting with node-db.<entry.name>
|
||||
# # if doing CHAP
|
||||
# node-db.node.session.auth.authmethod: CHAP
|
||||
# node-db.node.session.auth.username: foo
|
||||
# node-db.node.session.auth.password: bar
|
||||
#
|
||||
# # if doing mutual CHAP
|
||||
# node-db.node.session.auth.username_in: baz
|
||||
# node-db.node.session.auth.password_in: bar
|
||||
#nodeStageSecretRef:
|
||||
# name: some name
|
||||
# namespace: some namespace
|
||||
mountOptions: []
|
||||
csi:
|
||||
driver: org.democratic-csi.node-manual
|
||||
readOnly: false
|
||||
# can be ext4 or xfs
|
||||
fsType: ext4
|
||||
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
||||
volumeAttributes:
|
||||
portal: <ip:port>
|
||||
#portals: <ip:port>,<ip:port>,...
|
||||
iqn: <iqn>
|
||||
lun: <lun>
|
||||
node_attach_driver: iscsi
|
||||
provisioner_driver: node-manual
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-manual
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
mountOptions:
|
||||
- nfsvers=3
|
||||
- nolock
|
||||
- noatime
|
||||
csi:
|
||||
driver: org.democratic-csi.node-manual
|
||||
readOnly: false
|
||||
fsType: nfs
|
||||
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
||||
volumeAttributes:
|
||||
server: host or ip
|
||||
share: /some/share
|
||||
node_attach_driver: nfs
|
||||
provisioner_driver: node-manual
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: smb-manual
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
#nodeStageSecretRef:
|
||||
# name: some name
|
||||
# namespace: some namespace
|
||||
mountOptions:
|
||||
# creds can be entered into the node-stage-secret in the `mount_flags` key
|
||||
# the value should be: username=foo,password=bar
|
||||
- username=foo
|
||||
- password=bar
|
||||
csi:
|
||||
driver: org.democratic-csi.node-manual
|
||||
readOnly: false
|
||||
fsType: cifs
|
||||
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
||||
volumeAttributes:
|
||||
server: host or ip
|
||||
share: someshare
|
||||
node_attach_driver: smb
|
||||
provisioner_driver: node-manual
|
||||
@@ -0,0 +1,2 @@
|
||||
driver: node-manual
|
||||
|
||||
Reference in New Issue
Block a user