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
- **backupLocationRef:**Contains the Name and Namespace reference for Velero BSL
48
+
- **backupLocationName:** Name of Velero BSL to be used
46
49
- **uploadSpeedTestConfig:** Test parameters for the upload (file size, test timeout).
47
50
- **CSIVolumeSnapshotTestConfig:** Test parameters for the CSI VolumeSnapshot test (snapshot class, source PVC name and namespace for each PVC, plus snapshot timeout).
48
51
-**Status:**
@@ -51,7 +54,8 @@ Components involved and their responsibilities:
51
54
-**S3Vendor:** Reports the detected S3 vendor string from vendor determination. (This is only applicable for S3-compatible object storage providers)
52
55
-**BucketMetadata:** Reports the encryptionAlgorithm used for the bucket as well as the versioningStatus.
53
56
54
-
**Note:** Either `backupLocationSpec` or `backupLocationRef` will be processed for a particular DPT instance, if both are specified DPT would error out.
57
+
**Note:** Either `backupLocationSpec` or `backupLocationName` will be processed for a particular DPT instance, if both are specified DPT would error out.
58
+
55
59
-**DataProtectionTest Controller:**
56
60
- Monitors DataProtectionTest CRs.
57
61
- Extracts configuration from the backup location spec.
@@ -65,6 +69,8 @@ Components involved and their responsibilities:
65
69
- AWS-specific implementation (S3Provider) is provided using the AWS SDK.
66
70
-**Vendor Determination Logic:**
67
71
- A helper function performs an HTTP HEAD call to the **s3Url** and inspects headers (especially the `Server` header) to determine the vendor (e.g., "AWS", "MinIO", etc.).
72
+
-**Bucket Metadata Retrieval:**
73
+
- The DPT controller retrieves encryption and versioning configuration for the target object storage bucket using the cloud provider SDK.
68
74
69
75
## Detailed Design
70
76
@@ -78,9 +84,7 @@ kind: DataProtectionTest
78
84
metadata:
79
85
name: my-data-protection-test
80
86
spec:
81
-
backupLocationRef: # optional, either this or backupLocationSpec
82
-
name: aws-bsl
83
-
namespace: openshift-adp
87
+
backupLocationName: aws-bsl # optional, either this or backupLocationSpec
84
88
backupLocationSpec:
85
89
provider: aws # Cloud provider type (aws, azure, gcp)
0 commit comments