Skip to content

http

HTTP exposure. A provider emits an Ingress and TLS for each consumer, and binds dns to learn the zone.

apps.myapp.main.needs.http = {
host = "app.example.dev";
port = 8080;
};
  • 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
  • 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
  • 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