object-bucket-claim
A Helm chart for ObjectBucketClaim to be consumed by other applications.
About this chart
ObjectBucketClaim Helm Chart
Chart Details
This chart will do the following:
- Create a ObjectBucketClaim that will be reconciled by your S3-compatible storage provider to create an S3 bucket
Installing the Chart
To install the chart, use the following:
$ helm install stable/object-bucket-claim
Configuration
The config assumes the fact that it is going to be consumed by dkp platform. But you can change it to also include your own apps.
dkp:
velero:
enabled: true
bucketName: dkp-velero
# generateBucketName: ceph-bkt
storageClassName: s3-provider-sc
priorityClassName: dkp-critical-priority
labels: {}
additionalConfig:
# maxObjects: "1000"
# in string format like "2G", minimum is "4K"
maxSize: "10G"
loki:
...
your-app:
...
The following table lists the configurable parameters of each app under to top-level dkp.$app flag the chart and
their default values. ($app is velero|loki|your-app in the example above.)
| Parameter | Description | Default |
|---|---|---|
dkp.$app.bucketName | Name of the bucket to create | true |
dkp.$app.generateBucketName | Prefix of the bucket name with a generated suffix | nil |
dkp.$app.labels | labels to set on this object | {} |
dkp.$app.additionalConfig.maxObjects | Limit of number of S3 objects this bucket can hold | "" |
dkp.$app.additionalConfig.maxSize | Limit of the storage this S3 bucket can use from the S3 storage provider | "" |
dkp.$app.priorityClassName | Priority class to set on pods | "" |
Specify each parameter using the --set key=value[,key=value] argument to
helm install.
Deploy object-bucket-claim with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has object-bucket-claim on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartobject-bucket-claim is pinned at v0.1.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply