Skip to content

metabase

Metabase. Binds http, database, and volume and renders the analytics workload.

apps.metabase.main = {
needs.http.host = "data.example.dev";
poolSize = 5;
};

Provides

None.

Needs

http7 options
  • hostnull or string

    Fully qualified host. Defaults to the consumer DNS label under the bound zone.

    Default
    null
  • ingressClassNamenull or string

    Bound IngressClass. Written by the http provider.

    Default
    null
  • pathPrefixstring

    Path 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 string

    Bound public URL, always https. Written by the http provider.

    Default
    null
  • tlsSecretNamenull or string

    Bound name of the TLS Secret. Written by the http provider.

    Default
    null
database10 options
  • engineone of "postgres", "mysql"

    Database engine.

    Default
    "postgres"
  • hostnull or string

    Bound host. Written by the database provider.

    Default
    null
  • namenull or string

    Database name. Defaults to the name the provider creates.

    Default
    null
  • passwordnull or (submodule)

    Bound secretRef for the password. Written by the database provider.

    Default
    null
  • password.keystring

    Key inside the Secret.

  • password.namestring

    Kubernetes Secret object name.

  • password.namespacenull or string

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

    Default
    null
  • portnull or 16 bit unsigned integer; between 0 and 65535 (both inclusive)

    Bound port. Written by the database provider.

    Default
    null
  • providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))

    Overrides providers.database for this need.

    Default
    null
  • usernull or string

    Bound user. Written by the database provider.

    Default
    null
volume5 options
  • <name>.accessModeslist of string

    Access modes for the PVC.

    Default
    [ "ReadWriteOnce" ]
  • <name>.classnull or string

    Storage class alias, resolved by the volume provider.

    Default
    null
  • <name>.pathstring

    Mount path this claim is bound to in the consumer's pod.

  • <name>.sizenull or string

    Requested 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
  • packagepackage

    Metabase package.

    Default
    <derivation metabase-0.63.5>
  • poolSizepositive integer, meaning >0

    Application database connection pool size.

    Default
    3
  • port16 bit unsigned integer; between 0 and 65535 (both inclusive)

    Port Metabase listens on.

    Default
    3000
  • timeZonestring

    Time zone passed to the JVM.

    Default
    "UTC"