From a5ef9d6f7cfa0f0f235392a2b1cee38de8da6556 Mon Sep 17 00:00:00 2001 From: Tiger Kaovilai Date: Thu, 7 Nov 2024 16:23:42 -0500 Subject: [PATCH] Typo: ebs.csi.aws.com instead of aws.ebs.csi.driver Per driver [code](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/966da33cffbd3813846ff0463b6bf31d6a9d91d1/pkg/driver/driver.go#L49C30-L49C45) Signed-off-by: Tiger Kaovilai --- .../handle-backup-of-volumes-by-resources-filters.md | 4 ++-- internal/resourcepolicies/resource_policies_test.go | 4 ++-- site/content/docs/main/resource-filtering.md | 2 +- site/content/docs/v1.11/resource-filtering.md | 2 +- site/content/docs/v1.12/resource-filtering.md | 2 +- site/content/docs/v1.13/resource-filtering.md | 2 +- site/content/docs/v1.14/resource-filtering.md | 2 +- site/content/docs/v1.15/resource-filtering.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/design/Implemented/handle-backup-of-volumes-by-resources-filters.md b/design/Implemented/handle-backup-of-volumes-by-resources-filters.md index c5f6e8c7c5..139aee2c62 100644 --- a/design/Implemented/handle-backup-of-volumes-by-resources-filters.md +++ b/design/Implemented/handle-backup-of-volumes-by-resources-filters.md @@ -86,7 +86,7 @@ volumePolicies: # capacity condition matches the volumes whose capacity falls into the range capacity: "0,100Gi" csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com fsType: ext4 storageClass: - gp2 @@ -174,7 +174,7 @@ data: - conditions: capacity: "0,100Gi" csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com fsType: ext4 storageClass: - gp2 diff --git a/internal/resourcepolicies/resource_policies_test.go b/internal/resourcepolicies/resource_policies_test.go index 4fd705731e..e21458b2d1 100644 --- a/internal/resourcepolicies/resource_policies_test.go +++ b/internal/resourcepolicies/resource_policies_test.go @@ -276,7 +276,7 @@ volumePolicies: vol: &v1.PersistentVolume{ Spec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{ - CSI: &v1.CSIPersistentVolumeSource{Driver: "aws.ebs.csi.driver"}, + CSI: &v1.CSIPersistentVolumeSource{Driver: "ebs.csi.aws.com"}, }}, }, skip: true, @@ -311,7 +311,7 @@ volumePolicies: v1.ResourceStorage: resource.MustParse("1Gi"), }, PersistentVolumeSource: v1.PersistentVolumeSource{ - CSI: &v1.CSIPersistentVolumeSource{Driver: "aws.ebs.csi.driver"}, + CSI: &v1.CSIPersistentVolumeSource{Driver: "ebs.csi.aws.com"}, }}, }, skip: true, diff --git a/site/content/docs/main/resource-filtering.md b/site/content/docs/main/resource-filtering.md index ce17b43703..afcba16241 100644 --- a/site/content/docs/main/resource-filtering.md +++ b/site/content/docs/main/resource-filtering.md @@ -264,7 +264,7 @@ The policies YAML config file would look like this: capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2 diff --git a/site/content/docs/v1.11/resource-filtering.md b/site/content/docs/v1.11/resource-filtering.md index 3edf69b12b..4ff53c12f6 100644 --- a/site/content/docs/v1.11/resource-filtering.md +++ b/site/content/docs/v1.11/resource-filtering.md @@ -241,7 +241,7 @@ Velero only support volume resource policies currently, other kinds of resource capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2 diff --git a/site/content/docs/v1.12/resource-filtering.md b/site/content/docs/v1.12/resource-filtering.md index 3edf69b12b..4ff53c12f6 100644 --- a/site/content/docs/v1.12/resource-filtering.md +++ b/site/content/docs/v1.12/resource-filtering.md @@ -241,7 +241,7 @@ Velero only support volume resource policies currently, other kinds of resource capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2 diff --git a/site/content/docs/v1.13/resource-filtering.md b/site/content/docs/v1.13/resource-filtering.md index 2a52c94cdf..1c63d669a9 100644 --- a/site/content/docs/v1.13/resource-filtering.md +++ b/site/content/docs/v1.13/resource-filtering.md @@ -259,7 +259,7 @@ Velero only support volume resource policies currently, other kinds of resource capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2 diff --git a/site/content/docs/v1.14/resource-filtering.md b/site/content/docs/v1.14/resource-filtering.md index 9072d2420b..1b8e9ada37 100644 --- a/site/content/docs/v1.14/resource-filtering.md +++ b/site/content/docs/v1.14/resource-filtering.md @@ -264,7 +264,7 @@ The policies YAML config file would look like this: capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2 diff --git a/site/content/docs/v1.15/resource-filtering.md b/site/content/docs/v1.15/resource-filtering.md index ce17b43703..afcba16241 100644 --- a/site/content/docs/v1.15/resource-filtering.md +++ b/site/content/docs/v1.15/resource-filtering.md @@ -264,7 +264,7 @@ The policies YAML config file would look like this: capacity: "10,100Gi" # pv matches specific csi driver csi: - driver: aws.ebs.csi.driver + driver: ebs.csi.aws.com # pv matches one of the storage class list storageClass: - gp2