Skip to content

Commit

Permalink
Add AssumeRoleTags to Bucket CRD (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolancon authored Jan 29, 2024
1 parent 65ec0a4 commit 46c8e2e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/provider-ceph/v1alpha1/bucket_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ type BucketParameters struct {
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html).
// +optional
LifecycleConfiguration *BucketLifecycleConfiguration `json:"lifecycleConfiguration,omitempty"`

// AssumeRoleTags may be used to add custom values to an AssumeRole request.
// +optional
AssumeRoleTags []Tag `json:"assumeRoleTags,omitempty"`
}

// BackendInfo contains relevant information about an S3 backend for
Expand Down
5 changes: 5 additions & 0 deletions apis/provider-ceph/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions package/crds/provider-ceph.ceph.crossplane.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,23 @@ spec:
acl:
description: The canned ACL to apply to the bucket.
type: string
assumeRoleTags:
description: AssumeRoleTags may be used to add custom values to
an AssumeRole request.
items:
description: Tag is a container for a key value name pair.
properties:
key:
description: Name of the tag. Key is a required field
type: string
value:
description: Value of the tag. Value is a required field
type: string
required:
- key
- value
type: object
type: array
grantFullControl:
description: Allows grantee the read, write, read ACP, and write
ACP permissions on the bucket.
Expand Down

0 comments on commit 46c8e2e

Please sign in to comment.