Skip to content

Commit 0a20414

Browse files
authored
Add warning admonition on working with local data. (#143)
1 parent 07de86f commit 0a20414

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Underneath it creates a LVM logical volume on the local disks. A comma-separated
88

99
This CSI driver is derived from [csi-driver-host-path](https://github.com/kubernetes-csi/csi-driver-host-path) and [csi-lvm](https://github.com/metal-stack/csi-lvm)
1010

11+
> [!WARNING]
12+
> Note that there is always an inevitable risk of data loss when working with local volumes. For this reason, be sure to back up your data or implement proper data replication methods when using this CSI driver.
13+
1114
## Currently it can create, delete, mount, unmount and resize block and filesystem volumes via lvm ##
1215

1316
For the special case of block volumes, the filesystem-expansion has to be performed by the app using the block device

charts/csi-driver-lvm/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ nodeSelector:
6262
# so it is not necessary to set a nodeSelector for it
6363

6464
# plugin:
65-
# node-role.kubernetes.io/master: ""
66-
# Key name may need to be updated to 'node-role.kubernetes.io/control-plane'
67-
# in the future
65+
# node-role.kubernetes.io/master: ""
66+
# # Key name may need to be updated to 'node-role.kubernetes.io/control-plane'
67+
# # in the future
6868

6969
# The provisioner has an affinity for nodes with a plugin pod,
7070
# but since that's a daemonset, we allow more fine-grained node selection

0 commit comments

Comments
 (0)