Bucket is the Schema for the Buckets API. Creates a new bucket in Google Cloud Storage.
Type
CRD
Group
storage.gcp.upbound.io
Version
v1beta1
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
BucketSpec defines the desired state of Bucket
No description provided.
The bucket's Autoclass configuration. Structure is documented below.
The bucket's Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
The list of individual regions that comprise a dual-region bucket. See Cloud Storage bucket locations for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
The bucket's encryption configuration. Structure is documented below.
The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below.
The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below.
One or more matching name prefixes to satisfy this condition.
Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.
One or more matching name suffixes to satisfy this condition.
The bucket's Access & Storage Logs configuration. Structure is documented below.
Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
The bucket's Versioning configuration. Structure is documented below.
Configuration if the bucket acts as a website. Structure is documented below.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
BucketStatus defines the observed state of Bucket.
Conditions of the resource.
project-usage-tracking-bucket
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: cloudplatform/v1beta1/projectusageexportbucket
labels:
testing.upbound.io/example-name: project-usage-tracking-bucket
name: project-usage-tracking-bucket
spec:
forProvider:
location: US
storageClass: MULTI_REGIONAL
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/objectaccesscontrol
labels:
testing.upbound.io/example-name: bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/bucket
labels:
testing.upbound.io/example-name: bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: true
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
target-grpc-proxy-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/targetgrpcproxy
labels:
testing.upbound.io/example-name: target-grpc-proxy
name: target-grpc-proxy-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-iam-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/bucketiammember
labels:
testing.upbound.io/example-name: bucket-iam-member
name: bucket-iam-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
default-object-access-control-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/defaultobjectaccesscontrol
labels:
testing.upbound.io/example-name: default-object-access-control
name: default-object-access-control-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
region-endpoint-network-group-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regionnetworkendpointgroup
upjet.upbound.io/manual-intervention: BucketObject does not support source field
labels:
testing.upbound.io/example-name: region-endpoint-network-group
name: region-endpoint-network-group-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
default-object-acl-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/defaultobjectacl
labels:
testing.upbound.io/example-name: default-object-acl
name: default-object-acl-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-object-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/bucketobject
labels:
testing.upbound.io/example-name: bucket-object
name: bucket-object-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
storageClass: MULTI_REGIONAL
urlmap-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/urlmap
labels:
testing.upbound.io/example-name: urlmap
name: urlmap-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
cloud-function-42345
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: cloudfunctions/v1beta1/function
upjet.upbound.io/manual-intervention: BucketObject does not yet support source field
labels:
testing.upbound.io/example-name: cloud-function-42345
name: cloud-function-42345
spec:
forProvider:
location: US
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: cloudfunctions2/v1beta1/function
labels:
testing.upbound.io/example-name: bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: true
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
backend-bucket-signed-url-key-backend-key
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/backendbucket
labels:
testing.upbound.io/example-name: backend-bucket-signed-url-key
name: backend-bucket-signed-url-key-backend-key
spec:
forProvider:
location: US
storageClass: MULTI_REGIONAL
target-https-proxy-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/targethttpsproxy
labels:
testing.upbound.io/example-name: target-https-proxy
name: target-https-proxy-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-object-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: appengine/v1beta1/standardappversion
labels:
testing.upbound.io/example-name: bucket-object
name: bucket-object-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: false
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
backend-bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/backendbucket
labels:
testing.upbound.io/example-name: backend-bucket
name: backend-bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
storageClass: MULTI_REGIONAL
bucket-acl-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/bucketacl
labels:
testing.upbound.io/example-name: bucket-acl
name: bucket-acl-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: dataplex/v1beta1/asset
labels:
testing.upbound.io/example-name: basic_bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: true
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
target-http-proxy-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/targethttpproxy
labels:
testing.upbound.io/example-name: target-http-proxy
name: target-http-proxy-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-object-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: appengine/v1beta1/applicationurldispatchrules
labels:
testing.upbound.io/example-name: bucket-object
name: bucket-object-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: false
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: logging/v1beta1/projectsink
labels:
testing.upbound.io/example-name: bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: true
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
bucket-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/objectacl
labels:
testing.upbound.io/example-name: bucket
name: bucket-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: true
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
bucket-access-control-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: storage/v1beta1/bucketaccesscontrol
labels:
testing.upbound.io/example-name: bucket-access-control
name: bucket-access-control-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: US
bucket-object-${Rand.RFC1123Subdomain}
apiVersion: storage.gcp.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
meta.upbound.io/example-id: appengine/v1beta1/servicenetworksettings
labels:
testing.upbound.io/example-name: bucket-object
name: bucket-object-${Rand.RFC1123Subdomain}
spec:
forProvider:
cors:
- maxAgeSeconds: 3600
method:
- GET
- HEAD
- PUT
- POST
- DELETE
origin:
- http://image-store.com
responseHeader:
- "*"
forceDestroy: true
location: US
uniformBucketLevelAccess: false
website:
- mainPageSuffix: index.html
notFoundPage: 404.html
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.