You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/blog/_posts/2022-05-18-prevent-unauthorised-volume-mode-conversion.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,31 +53,31 @@ To convert the volume mode, an authorised user must do the following:
53
53
created PVC in the given namespace.
54
54
2. Identify the `VolumeSnapshotContent` bound to the above `VolumeSnapshot`.
55
55
56
-
```
57
-
kubectl get volumesnapshot -n <namespace>
58
-
```
56
+
```shell
57
+
kubectl get volumesnapshot -n <namespace>
58
+
```
59
59
60
60
3. Add the annotation [`snapshot.storage.kubernetes.io/allowVolumeModeChange`](/docs/reference/labels-annotations-taints/#snapshot-storage-kubernetes-io-allowvolumemodechange)
61
61
to the `VolumeSnapshotContent`.
62
62
63
63
4. This annotation can be added either via software or manually by the authorised
64
64
user. The `VolumeSnapshotContent` annotation must look like following manifest fragment:
0 commit comments