garage
Garage. Provides objectStorage and runs an S3 endpoint; binds http, volume, and secret.
Cluster example
Section titled “Cluster example”providers.objectStorage = apps.garage.main;apps.garage.main = { region = "home";};Provides
objectStorage13 options
accessKeynull or (submodule)Bound secretRef for the access key. Written by the objectStorage provider.
- Default
null
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
bucketnull or stringBucket name. Defaults to the consumer DNS label.
- Default
null
endpointnull or stringBound S3 endpoint. Written by the objectStorage provider.
- 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
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
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
Needs
http7 options
hostnull or stringFully qualified host. Defaults to the consumer DNS label under the bound zone.
- Default
null
ingressClassNamenull or stringBound IngressClass. Written by the http provider.
- Default
null
pathPrefixstringPath prefix the Ingress routes on.
- Default
"/"
portnull or 16 bit unsigned integer; between 0 and 65535 (both inclusive)Backend Service port. Defaults to the port the app declares.
- Default
null
providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))Overrides providers.http for this need.
- Default
null
publicUrlnull or stringBound public URL, always https. Written by the http provider.
- Default
null
tlsSecretNamenull or stringBound name of the TLS Secret. Written by the http provider.
- Default
null
volume5 options
<name>.accessModeslist of stringAccess modes for the PVC.
- Default
[ "ReadWriteOnce" ]
<name>.classnull or stringStorage class alias, resolved by the volume provider.
- Default
null
<name>.pathstringMount path this claim is bound to in the consumer's pod.
<name>.sizenull or stringRequested size, such as 10Gi. Defaults to the size the volume provider assigns.
- Default
null
providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))Overrides providers.volume for this need.
- Default
null
secret7 options
<name>.externalbooleanThe operator supplies this value before apply. Other secrets are generated in the cluster.
- Default
false
<name>.keyslist of stringKeys stored in this Secret. Empty means one key named after the secret.
- Default
[ ]- Example
[ "name" "user" "password" ]
<name>.refnull or (submodule)Bound secretRef for this secret. Written by the secret provider.
- Default
null
<name>.ref.keystringKey inside the Secret.
<name>.ref.namestringKubernetes Secret object name.
<name>.ref.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.secret for this need. One provider handles every named secret.
- Default
null
Instance options
Section titled “Instance options”defaultBucketstringBucket Garage creates for its own use when an instance starts.
- Default
"static"
packagepackageGarage package.
regionstringS3 region reported to consumers.
- Default
"garage"