Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sparkfabrik/terraform-helm-ingress-nginx
This module creates Kubernetes namespace and install the nginx ingress controller helm release
https://github.com/sparkfabrik/terraform-helm-ingress-nginx
helm helm-release iac infrastructure-as-code kubernetes nginx-ingress-controller terraform terraform-module
Last synced: 23 days ago
JSON representation
This module creates Kubernetes namespace and install the nginx ingress controller helm release
- Host: GitHub
- URL: https://github.com/sparkfabrik/terraform-helm-ingress-nginx
- Owner: sparkfabrik
- License: gpl-3.0
- Created: 2023-11-29T16:49:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T13:03:59.000Z (5 months ago)
- Last Synced: 2024-11-08T13:09:20.948Z (3 months ago)
- Topics: helm, helm-release, iac, infrastructure-as-code, kubernetes, nginx-ingress-controller, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx Ingress Controller
This is Terraform module to install and configure the Nginx Ingress Controller.
## Providers
| Name | Version |
|------|---------|
| [helm](#provider\_helm) | >= 2.10 |
| [kubernetes](#provider\_kubernetes) | >= 2.21 |## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0 |
| [helm](#requirement\_helm) | >= 2.10 |
| [kubernetes](#requirement\_kubernetes) | >= 2.21 |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [additional\_values](#input\_additional\_values) | Additional values to pass to the helm chart. | `list(string)` | `[]` | no |
| [chart\_version](#input\_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.11.2"` | no |
| [common\_labels](#input\_common\_labels) | Set of labels to apply to all resources. | `map(string)` | `{}` | no |
| [create\_namespace](#input\_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](#input\_helm\_release\_name) | Name of the helm release. | `string` | `"ingress-nginx"` | no |
| [ingress\_nginx\_controller\_max\_replicas](#input\_ingress\_nginx\_controller\_max\_replicas) | Maximum number of replicas for the ingress controller. | `number` | `3` | no |
| [ingress\_nginx\_controller\_min\_replicas](#input\_ingress\_nginx\_controller\_min\_replicas) | Minimum number of replicas for the ingress controller. | `number` | `1` | no |
| [namespace](#input\_namespace) | Namespace of the ingress controller. | `string` | n/a | yes |
| [namespace\_additional\_labels](#input\_namespace\_additional\_labels) | Additional labels for the namespace of the ingress controller. | `map(string)` | `{}` | no |
| [set\_controller\_default\_topology\_spread\_constraints](#input\_set\_controller\_default\_topology\_spread\_constraints) | Set the topologySpreadConstraints for the ingress controller. | `bool` | `true` | no |
| [set\_controller\_default\_topology\_spread\_constraints\_max\_skew](#input\_set\_controller\_default\_topology\_spread\_constraints\_max\_skew) | Set the topologyKey in the topologySpreadConstraints for the ingress controller. | `number` | `1` | no |
| [set\_controller\_default\_topology\_spread\_constraints\_topology\_key](#input\_set\_controller\_default\_topology\_spread\_constraints\_topology\_key) | Set the topologyKey in the topologySpreadConstraints for the ingress controller. | `string` | `"kubernetes.io/hostname"` | no |
| [set\_controller\_default\_topology\_spread\_constraints\_when\_unsatisfiable](#input\_set\_controller\_default\_topology\_spread\_constraints\_when\_unsatisfiable) | Set the whenUnsatisfiable policy in the topologySpreadConstraints for the ingress controller. | `string` | `"ScheduleAnyway"` | no |## Outputs
No outputs.
## Resources
| Name | Type |
|------|------|
| [helm_release.this](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |
| [kubernetes_namespace_v1.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace_v1) | resource |
| [kubernetes_namespace_v1.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/namespace_v1) | data source |## Modules
No modules.