objectStorage
S3-compatible object storage. A provider creates a bucket and writes the endpoint and keys for it.
Example
Section titled “Example”apps.myapp.main.needs.objectStorage = { bucket = "myapp-media"; public = true;};You set
Section titled “You set”accessKey.keystringKey inside the Secret.
accessKey.namestringKubernetes Secret object name.
accessKey.namespacenull or stringNamespace of the Secret. Defaults to the namespace of the consumer that reads it.
- Default
null
providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))Overrides providers.objectStorage for this need.
- Default
null
publicbooleanServe the bucket as a website.
- Default
false
secretKey.keystringKey inside the Secret.
secretKey.namestringKubernetes Secret object name.
secretKey.namespacenull or stringNamespace of the Secret. Defaults to the namespace of the consumer that reads it.
- Default
null
You set, or the provider fills it
Section titled “You set, or the provider fills it”bucketnull or stringBucket name. Defaults to the consumer DNS label.
- Default
null
The provider writes
Section titled “The provider writes”accessKeynull or (submodule)Bound secretRef for the access key. Written by the objectStorage provider.
- Default
null
endpointnull or stringBound S3 endpoint. Written by the objectStorage provider.
- Default
null
regionnull or stringBound region. Written by the objectStorage provider.
- Default
null
secretKeynull or (submodule)Bound secretRef for the secret key. Written by the objectStorage provider.
- Default
null