Skip to content

This module creates Kubernetes namespace and install the nginx ingress controller helm release

License

Notifications You must be signed in to change notification settings

sparkfabrik/terraform-helm-ingress-nginx

Repository files navigation

Nginx Ingress Controller

This is Terraform module to install and configure the Nginx Ingress Controller.

Providers

Name Version
helm >= 2.10
kubernetes >= 2.21

Requirements

Name Version
terraform >= 1.0
helm >= 2.10
kubernetes >= 2.21

Inputs

Name Description Type Default Required
additional_values Additional values to pass to the helm chart. list(string) [] no
chart_version Chart version of the ingress controller. Consider the default value the reference version of the module and the base of the values.yaml.tftpl file. string "4.10.1" no
common_labels Set of labels to apply to all resources. map(string) {} no
create_namespace Create namespace for the ingress controller. If false, the namespace must be created before using this module. bool true no
helm_release_name Name of the helm release. string "ingress-nginx" no
ingress_nginx_controller_max_replicas Maximum number of replicas for the ingress controller. number 3 no
ingress_nginx_controller_min_replicas Minimum number of replicas for the ingress controller. number 1 no
namespace Namespace of the ingress controller. string n/a yes
namespace_additional_labels Additional labels for the namespace of the ingress controller. map(string) {} no
set_controller_default_pod_anti_affinity Set the podAntiAffinity for the ingress controller. bool true no

Outputs

No outputs.

Resources

Name Type
helm_release.this resource
kubernetes_namespace_v1.this resource
kubernetes_namespace_v1.this data source

Modules

No modules.