fix: examples with wrong schema
This commit is contained in:
parent
1856b4fa29
commit
8238e1bead
|
|
@ -9,21 +9,6 @@ spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
persistentVolumeReclaimPolicy: Retain
|
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: []
|
mountOptions: []
|
||||||
csi:
|
csi:
|
||||||
driver: org.democratic-csi.node-manual
|
driver: org.democratic-csi.node-manual
|
||||||
|
|
@ -31,6 +16,21 @@ spec:
|
||||||
# can be ext4 or xfs
|
# can be ext4 or xfs
|
||||||
fsType: ext4
|
fsType: ext4
|
||||||
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
||||||
|
# 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
|
||||||
volumeAttributes:
|
volumeAttributes:
|
||||||
portal: <ip:port>
|
portal: <ip:port>
|
||||||
#portals: <ip:port>,<ip:port>,...
|
#portals: <ip:port>,<ip:port>,...
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@ spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
#nodeStageSecretRef:
|
|
||||||
# name: some name
|
|
||||||
# namespace: some namespace
|
|
||||||
mountOptions:
|
mountOptions:
|
||||||
# creds can be entered into the node-stage-secret in the `mount_flags` key
|
# creds can be entered into the node-stage-secret in the `mount_flags` key
|
||||||
# the value should be: username=foo,password=bar
|
# the value should be: username=foo,password=bar
|
||||||
|
|
@ -22,6 +19,9 @@ spec:
|
||||||
readOnly: false
|
readOnly: false
|
||||||
fsType: cifs
|
fsType: cifs
|
||||||
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
||||||
|
#nodeStageSecretRef:
|
||||||
|
# name: some name
|
||||||
|
# namespace: some namespace
|
||||||
volumeAttributes:
|
volumeAttributes:
|
||||||
server: host or ip
|
server: host or ip
|
||||||
share: someshare
|
share: someshare
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue