Terraform module used by teams to deploy nginx ingress controller in their namespaces
module "ingress_controller" {
source = "github.com/ministryofjustice/cloud-platform-terraform-teams-ingress-controller?ref=0.0.9"
namespace = var.namespace
is_production = var.is_production
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
namespace | Namespace where ingress controller is going to be looking for ingresses | string | "" | yes |
custom_values | Set to true if you do not want to use the default values.yaml provided, fill custom_values_content variable with your custom values | bool | "" | yes |
custom_values_content | Provide values.yaml content for custom configuration |
string | "" | yes |
default_cert | Useful if you want to use a default certificate for your ingress controller. Format: namespace/secretName" | string | "" | yes |
is_production | If set to true: 2 ingress controller replicas are going to be deployed. Default: 1 replica | bool | false | no |
dependence_prometheus | When deployed integration_test nginx ingress controller, if prometheus is not deployed before this module fails because it installs serviceMonitor (CRD from prometheus) | string | "NOTHING" | no |
dependence_certmanager | When deployed integration_test nginx ingress controller, if certmanager is not deployed before this module fails because it uses certmanager defaultCertificate | string | "NOTHING" | no |
This module doesn't have outputs