node-manual, dep updates

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen
2021-05-13 00:22:18 -06:00
parent 067123943d
commit a366ed2e53
11 changed files with 530 additions and 357 deletions
+40
View File
@@ -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
+25
View File
@@ -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
+29
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
driver: node-manual