Skip to content

redis

A Redis-compatible cache. A provider writes the host and allocated logical database index for each consumer.

apps.myapp.main.needs.redis = { };
  • auth.keystring

    Key inside the Secret.

  • auth.namestring

    Kubernetes Secret object name.

  • auth.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.redis for this need.

    Default
    null
  • authnull or (submodule)

    Bound secretRef for authentication. Written by the redis provider when the cache requires a password.

    Default
    null
  • hostnull or string

    Bound host. Written by the redis provider.

    Default
    null
  • indexnull or (unsigned integer, meaning >=0)

    Allocated logical database index. Written by the redis provider.

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

    Bound port. Written by the redis provider.

    Default
    null

None.