Skip to content

Commit

Permalink
Merge pull request #8381 from kaovilai/ebs.csi.aws.com
Browse files Browse the repository at this point in the history
Typo: ebs.csi.aws.com instead of aws.ebs.csi.driver
  • Loading branch information
ywk253100 authored Nov 11, 2024
2 parents 511afbe + a5ef9d6 commit 1fbd22f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -174,7 +174,7 @@ data:
- conditions:
capacity: "0,100Gi"
csi:
driver: aws.ebs.csi.driver
driver: ebs.csi.aws.com
fsType: ext4
storageClass:
- gp2
Expand Down
4 changes: 2 additions & 2 deletions internal/resourcepolicies/resource_policies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/main/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.11/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.12/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.13/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.14/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.15/resource-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fbd22f

Please sign in to comment.