Skip to content

pulumi/pulumi-kubernetes-ingress-nginx

Repository files navigation

Pulumi NGINX Ingress Controller Component

This repo contains the Pulumi NGINX Ingress Controller component for Kubernetes. This ingress controller uses NGINX as a reverse proxy and load balancer.

This component wraps the Kubernetes Provided NGINX Ingress Controller, and offers a Pulumi-friendly and strongly-typed way to manage ingress controller installations.

After installing this component to your cluster, you can use it by adding the kubernetes.io/ingress.class: nginx annotation to your Ingress resources.

For examples of usage, see the official documentation, or refer to the examples in this repo.

To Use

To use this component, first install the Pulumi Package:

Afterwards, import the library and instantiate it within your Pulumi program:

Configuration

This component supports all of the configuration options of the official Helm chart, except that these are strongly typed so you will get IDE support and static error checking.

The Helm deployment uses reasonable defaults, including the chart name and repo URL, however, if you need to override them, you may do so using the helmOptions parameter. Refer to the API docs for the kubernetes:helm/v3:Release Pulumi type for a full set of choices.

For complete details, refer to the Pulumi Package details within the Pulumi Registry.