Skip to content

Nginx-Ingress Module

This adds nginx-ingress-controller (see https://github.com/kubernetes/ingress-nginx), located in the nginxingress key.

This is helpful if no other ingress-controller is deployes (e.g. AKS without API Gateway).

The following snippets lists all available configuration options alongside their default values:

(import 'cloudflight-libsonnet/infrastructure/nginx-ingress/nginx-ingress.libsonnet')
+ {
  _config+: {
        nginxingress: {
          name: 'nginx-ingress',
          type: 'external',
          loadBalancerIP: error 'you need a static loadbalancer ip (public IP for external, internal IP for internal)',
          internalSubnetAzure: null,
          replicas: 2,
          defaultTlsCertificate: null,
        },

  }
}