Bucket
The Bucket component creates a Flux Bucket resource that you can use to store and retrieve objects. Check out the official Bucket documentation for more information.
Example Usage
A Bucket that is configured for AWS S3.
apiVersion: spectrocloud.com/v1beta1
kind: WorkloadProfile
metadata:
name: 'my-bucket'
namespace: 'app-ns'
spec:
workload:
components:
- name: 'my-bucket'
type: 'bucket'
properties:
bucketName: 'demo-bucket'
endpoint: 's3.amazonaws.com'
interval: '5m0s'
region: 'us-east-1'
provider: 'aws'
timeout: '30s'
secretRef:
name: 'aws-credentials'
---
apiVersion: v1
kind: Secret
metadata:
name: 'aws-credentials'
namespace: 'app-ns'
type: Opaque
data:
accesskey: '************'
secretkey: '************'
Parameters
Template
The following tabs display the definition's Cue template and the rendered YAML. The rendered YAML is the output of the Cue template when the definition is applied to a cluster.