Skip to content

objectStorage

S3-compatible object storage. A provider creates a bucket and writes the endpoint and keys for it.

apps.myapp.main.needs.objectStorage = {
bucket = "myapp-media";
public = true;
};
  • accessKey.keystring

    Key inside the Secret.

  • accessKey.namestring

    Kubernetes Secret object name.

  • accessKey.namespacenull or string

    Namespace 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
  • publicboolean

    Serve the bucket as a website.

    Default
    false
  • secretKey.keystring

    Key inside the Secret.

  • secretKey.namestring

    Kubernetes Secret object name.

  • secretKey.namespacenull or string

    Namespace of the Secret. Defaults to the namespace of the consumer that reads it.

    Default
    null
  • bucketnull or string

    Bucket name. Defaults to the consumer DNS label.

    Default
    null
  • accessKeynull or (submodule)

    Bound secretRef for the access key. Written by the objectStorage provider.

    Default
    null
  • endpointnull or string

    Bound S3 endpoint. Written by the objectStorage provider.

    Default
    null
  • regionnull or string

    Bound region. Written by the objectStorage provider.

    Default
    null
  • secretKeynull or (submodule)

    Bound secretRef for the secret key. Written by the objectStorage provider.

    Default
    null