fix: examples with wrong schema

This commit is contained in:
CuBiC 2023-08-08 16:18:56 +02:00 committed by GitHub
parent 1856b4fa29
commit 8238e1bead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -9,6 +9,13 @@ spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
persistentVolumeReclaimPolicy: Retain persistentVolumeReclaimPolicy: Retain
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
# can be used to handle CHAP # can be used to handle CHAP
# in the secret create the following keys: # in the secret create the following keys:
# #
@ -24,13 +31,6 @@ spec:
#nodeStageSecretRef: #nodeStageSecretRef:
# name: some name # name: some name
# namespace: some namespace # 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: volumeAttributes:
portal: <ip:port> portal: <ip:port>
#portals: <ip:port>,<ip:port>,... #portals: <ip:port>,<ip:port>,...

View File

@ -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