diff --git a/deploy/example/e2e_usage.md b/deploy/example/e2e_usage.md index d5372db7b0e..72c67ab14ef 100644 --- a/deploy/example/e2e_usage.md +++ b/deploy/example/e2e_usage.md @@ -104,7 +104,6 @@ spec: - file_mode=0777 csi: driver: smb.csi.k8s.io - readOnly: false # volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name} # make sure this value is unique for every share in the cluster volumeHandle: smb-server.default.svc.cluster.local/share## diff --git a/deploy/example/nginx-pod-smb.yaml b/deploy/example/nginx-pod-smb.yaml index 2c6ce8738fc..c94918ea4ae 100644 --- a/deploy/example/nginx-pod-smb.yaml +++ b/deploy/example/nginx-pod-smb.yaml @@ -14,6 +14,7 @@ spec: volumeMounts: - name: smb01 mountPath: "/mnt/smb" + readOnly: false volumes: - name: smb01 persistentVolumeClaim: diff --git a/deploy/example/pv-smb.yaml b/deploy/example/pv-smb.yaml index bfb46381917..a524bc71ce2 100644 --- a/deploy/example/pv-smb.yaml +++ b/deploy/example/pv-smb.yaml @@ -23,7 +23,6 @@ spec: - noserverino # required to prevent data corruption csi: driver: smb.csi.k8s.io - readOnly: false # volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name} # make sure this value is unique for every share in the cluster volumeHandle: smb-server.default.svc.cluster.local/share## diff --git a/deploy/example/smb-provisioner/pv-smb-csi.yaml b/deploy/example/smb-provisioner/pv-smb-csi.yaml index 87087b52967..65d0ca9bc3b 100644 --- a/deploy/example/smb-provisioner/pv-smb-csi.yaml +++ b/deploy/example/smb-provisioner/pv-smb-csi.yaml @@ -17,7 +17,6 @@ spec: - vers=3.0 csi: driver: smb.csi.k8s.io - readOnly: false # volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name} # make sure this value is unique for every share in the cluster volumeHandle: smb-server.default.svc.cluster.local/share## diff --git a/deploy/example/statefulset-nonroot.yaml b/deploy/example/statefulset-nonroot.yaml index e539ca7806a..45101cd4327 100644 --- a/deploy/example/statefulset-nonroot.yaml +++ b/deploy/example/statefulset-nonroot.yaml @@ -29,6 +29,7 @@ spec: volumeMounts: - name: persistent-storage mountPath: /mnt/smb + readOnly: false updateStrategy: type: RollingUpdate selector: diff --git a/deploy/example/statefulset.yaml b/deploy/example/statefulset.yaml index fbfb35dfc4b..3e24205251f 100644 --- a/deploy/example/statefulset.yaml +++ b/deploy/example/statefulset.yaml @@ -25,6 +25,7 @@ spec: volumeMounts: - name: persistent-storage mountPath: /mnt/smb + readOnly: false updateStrategy: type: RollingUpdate selector: