Update README with prevent-volume-mode-conversion feature flag
This commit is contained in:
@@ -111,6 +111,8 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh
|
||||
|
||||
* `--kubeconfig <path>`: Path to Kubernetes client configuration that the webhook uses to connect to Kubernetes API server. When omitted, default token provided by Kubernetes will be used. This option is useful only when the snapshot controller does not run as a Kubernetes pod, e.g. for debugging.
|
||||
|
||||
* `--prevent-volume-mode-conversion`: Boolean that prevents an unauthorised user from modifying the volume mode when creating a PVC from an existing VolumeSnapshot. Only present as an alpha feature in `v6.0.0` and above.
|
||||
|
||||
#### Validating Webhook Validations
|
||||
|
||||
##### Volume Snapshot
|
||||
@@ -122,9 +124,10 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh
|
||||
##### Volume Snapshot Content
|
||||
|
||||
* Spec.VolumeSnapshotRef.Name must not be an empty string on creation
|
||||
* Spec.VolumeSnapshotRef.Namespace must not be an empty stringon creation
|
||||
* Spec.VolumeSnapshotRef.Namespace must not be an empty string on creation
|
||||
* Spec.Source.VolumeHandle must not be changed on update requests
|
||||
* Spec.Source.SnapshotHandle must not be changed on update requests
|
||||
* Spec.SourceVolumeMode must not be changes on update requests
|
||||
|
||||
##### Volume Snapshot Classes
|
||||
|
||||
@@ -173,6 +176,8 @@ Other than this, the NODE_NAME environment variable must be set where the CSI sn
|
||||
|
||||
* `--enable-distributed-snapshotting` : Enables each node to handle snapshots for the volumes local to that node. Off by default. It should be set to true only if `--node-deployment` parameter for the csi external snapshotter sidecar is set to true. See https://github.com/kubernetes-csi/external-snapshotter/blob/master/README.md#distributed-snapshotting for details.
|
||||
|
||||
* `--prevent-volume-mode-conversion`: Boolean that prevents an unauthorised user from modifying the volume mode when creating a PVC from an existing VolumeSnapshot. Only present as an alpha feature in `v6.0.0` and above.
|
||||
|
||||
#### Other recognized arguments
|
||||
* `--kubeconfig <path>`: Path to Kubernetes client configuration that the snapshot controller uses to connect to Kubernetes API server. When omitted, default token provided by Kubernetes will be used. This option is useful only when the snapshot controller does not run as a Kubernetes pod, e.g. for debugging.
|
||||
|
||||
|
Reference in New Issue
Block a user