@@ -214,7 +214,7 @@ need to identify the `VolumeSnapshotContent` mapped to the `VolumeSnapshot`
214
214
from which the ` PVC ` is being created.
215
215
216
216
Either through software or via manual intervention, the annotation
217
- ` snapshot.storage.kubernetes.io/allowVolumeModeChange : true ` needs to be applied
217
+ ` snapshot.storage.kubernetes.io/allow-volume-mode-change : true ` needs to be applied
218
218
to the ` VolumeSnapshotContent ` . If the backup software is a privileged user,
219
219
it will have ` Update ` and ` Patch ` permissions on ` VolumeSnapshotContents ` .
220
220
@@ -289,7 +289,7 @@ like below after this change:
289
289
kind: VolumeSnapshotContent
290
290
metadata:
291
291
annotations:
292
- - snapshot.storage .kubernetes .io /allowVolumeModeChange : " true"
292
+ - snapshot.storage .kubernetes .io /allow-volume-mode-change : " true"
293
293
...
294
294
` ` `
295
295
@@ -328,7 +328,7 @@ As part of the preprocessing steps, it will:
328
328
2. Get the ` Spec.VolumeMode ` of the ` PVC` being created.
329
329
If they do not match:
330
330
1. Get all annotations on the ` VolumeSnapshotContent` and verify if
331
- ` snapshot.storage .kubernetes .io /allowVolumeModeChange : true ` exists.
331
+ ` snapshot.storage .kubernetes .io /allow-volume-mode-change : true ` exists.
332
332
If it does not exist, block volume provisioning by returning an error.
333
333
4. In all other cases, let volume provisioning continue.
334
334
@@ -400,9 +400,9 @@ We expect no non-infra related flakes in the last month as a GA graduation crite
400
400
401
401
The feature flag will be enabled for e2e tests. The tests will attempt to convert volume
402
402
mode when creating a ` PVC` from a ` VolumeSnapshot` :
403
- - With ` Spec.SourceVolumeMode ` populated and ` snapshot.storage .kubernetes .io /allowVolumeModeChange : true `
403
+ - With ` Spec.SourceVolumeMode ` populated and ` snapshot.storage .kubernetes .io /allow-volume-mode-change : true `
404
404
annotation present.
405
- - With ` Spec.SourceVolumeMode ` populated but no ` snapshot.storage .kubernetes .io /allowVolumeModeChange : true `
405
+ - With ` Spec.SourceVolumeMode ` populated but no ` snapshot.storage .kubernetes .io /allow-volume-mode-change : true `
406
406
annotation.
407
407
- With ` Spec.SourceVolumeMode ` set to ` nil ` .
408
408
@@ -519,7 +519,7 @@ What signals should users be paying attention to when the feature is young
519
519
that might indicate a serious problem?
520
520
-->
521
521
522
- - persistentvolumeclaim_create_from_snapshot_failed_total
522
+ - persistentvolumeclaim_provision_failed_total
523
523
524
524
###### Were upgrade and rollback tested? Was the upgrade->downgrade->upgrade path tested?
525
525
@@ -570,7 +570,7 @@ Recall that end users cannot usually observe component logs or access metrics.
570
570
- Event Reason: ProvisioningFailed
571
571
- Event Message: ailed to provision volume with StorageClass "csi-hostpath-sc": error getting handle for DataSource Type
572
572
VolumeSnapshot by Name new-snapshot-demo: requested volume default/hpvc-restore modifies the mode of the source volume
573
- but does not have permission to do so. snapshot.storage.kubernetes.io/allowVolumeModeChange annotation is not present
573
+ but does not have permission to do so. snapshot.storage.kubernetes.io/allow-volume-mode-change annotation is not present
574
574
on snapshotcontent snapcontent-8d709f2e-db04-444f-aae2-e17d6c5398dd
575
575
576
576
@@ -680,6 +680,8 @@ details). For now, we leave it here.
680
680
681
681
###### How does this feature react if the API server and/or etcd is unavailable?
682
682
683
+ No new API calls are introduced as part of this feature.
684
+
683
685
###### What are other known failure modes?
684
686
685
687
<!--
0 commit comments