Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/kubernetes/ingress"

Index

Functions

httpIngressPath

ingressTemplate

  • Create the ingress for a deployment namespace. If the request has an ingressSpec, it is merged into the spec created by this function using lodash.merge(default, req.ingressSpec).

    It is possible to override the ingress name using the KubernetesApplication.ingressSpec. If you do this, make sure you know what you are doing.

    Parameters

    Returns Promise<NetworkingV1beta1Ingress>

    ingress spec with single rule

upsertIngress

  • If req.port and req.path are truthy, create or patch an ingress for a Kubernetes application. Any provided req.ingressSpec is merged using ingressTemplate before creating/patching.

    Parameters

    Returns Promise<NetworkingV1beta1Ingress | undefined>

    Kubernetes spec used to create/patch resource

Generated using TypeDoc