Skip to content

Commit

Permalink
Merge pull request #2130 from crossplane-contrib/backport-2125-to-rel…
Browse files Browse the repository at this point in the history
…ease-0.50
  • Loading branch information
MisterMX authored Nov 27, 2024
2 parents 55eeb2a + b1ca1f9 commit 931147f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
10 changes: 5 additions & 5 deletions apis/s3/v1beta1/lifecycleConfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type NoncurrentVersionExpiration struct {
}

// NoncurrentVersionTransition contains the transition rule that describes when noncurrent objects
// transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER,
// transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, GLACIER_IR
// or DEEP_ARCHIVE storage class. If your bucket is versioning-enabled (or versioning
// is suspended), you can set this action to request that Amazon S3 transition
// noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING,
Expand All @@ -164,8 +164,8 @@ type NoncurrentVersionTransition struct {
NoncurrentDays int32 `json:"noncurrentDays,omitempty"`

// The class of storage used to store the object.
// Valid values are: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
// +kubebuilder:validation:Enum=GLACIER;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
// Valid values are: GLACIER, GLACIER_IR, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
// +kubebuilder:validation:Enum=GLACIER;GLACIER_IR;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
StorageClass string `json:"storageClass"`
}

Expand All @@ -184,7 +184,7 @@ type Transition struct {
Days int32 `json:"days,omitempty"`

// The storage class to which you want the object to transition.
// Valid values are: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
// +kubebuilder:validation:Enum=GLACIER;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
// Valid values are: GLACIER, GLACIER_IR, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
// +kubebuilder:validation:Enum=GLACIER;GLACIER_IR;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
StorageClass string `json:"storageClass"`
}
2 changes: 1 addition & 1 deletion apis/s3/v1beta1/replicationConfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ type Destination struct {
// For valid values, see the StorageClass element of the PUT Bucket replication
// (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html)
// action in the Amazon Simple Storage Service API Reference.
// +kubebuilder:validation:Enum=STANDARD;GLACIER;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
// +kubebuilder:validation:Enum=STANDARD;GLACIER;GLACIER_IR;STANDARD_IA;ONEZONE_IA;INTELLIGENT_TIERING;DEEP_ARCHIVE
// +optional
StorageClass *string `json:"storageClass"`
}
Expand Down
9 changes: 6 additions & 3 deletions package/crds/s3.aws.crossplane.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ spec:
items:
description: |-
NoncurrentVersionTransition contains the transition rule that describes when noncurrent objects
transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER,
transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, GLACIER_IR
or DEEP_ARCHIVE storage class. If your bucket is versioning-enabled (or versioning
is suspended), you can set this action to request that Amazon S3 transition
noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING,
Expand All @@ -352,9 +352,10 @@ spec:
storageClass:
description: |-
The class of storage used to store the object.
Valid values are: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
Valid values are: GLACIER, GLACIER_IR, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
enum:
- GLACIER
- GLACIER_IR
- STANDARD_IA
- ONEZONE_IA
- INTELLIGENT_TIERING
Expand Down Expand Up @@ -401,9 +402,10 @@ spec:
storageClass:
description: |-
The storage class to which you want the object to transition.
Valid values are: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
Valid values are: GLACIER, GLACIER_IR, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
enum:
- GLACIER
- GLACIER_IR
- STANDARD_IA
- ONEZONE_IA
- INTELLIGENT_TIERING
Expand Down Expand Up @@ -2046,6 +2048,7 @@ spec:
enum:
- STANDARD
- GLACIER
- GLACIER_IR
- STANDARD_IA
- ONEZONE_IA
- INTELLIGENT_TIERING
Expand Down

0 comments on commit 931147f

Please sign in to comment.