nginx-ingress-controller
byuoitav/nginx-ingress-controller/kubernetes
Terraform Module
HCL
KUBERNETES
Install
module "nginx-ingress-controller" {
source = "byuoitav/nginx-ingress-controller/kubernetes"
version = "0.2.1"
}
README
terraform-kubernetes-nginx-ingress-controller Sample usage `` module nginx-ingress-controller { source = "byuoitav/nginx-ingress-controller/kubernetes" version = "0.2.1", # optional name = "ingress-nginx" nginx_config { "ssl-protocols" = "TLSv1.2" # Only Support TLSv1.2 "proxy-buffer-size" = "16k" } load_balancer_source_ranges = ["1.2.3.4/32"] } ``
Inputs (10)
| Name | Type | Description | Default |
|---|---|---|---|
| priority_class_name | string | The priority class to attach to the deployment | required |
| nginx_ingress_controller_image | string | The image to use for the NGINX ingress controller. See https://github.com/kubern | "k8s.gcr.io/ingress-nginx/controller" |
| nginx_config | map | Data in the k8s config map. See https://kubernetes.github.io/ingress-nginx/user- | {} |
| lb_annotations | map(string) | Annotations to add to the loadbalancer | {
"service.beta.kubernetes.io/aws-load |
| load_balancer_source_ranges | list(string) | The ip whitelist that is allowed to access the load balancer | [
"0.0.0.0/0"
] |
| lb_ports | list(object({ name | Load balancer port configuration | [
{
"name": "http",
"port": 80 |
| nginx_ingress_controller_image_tag | string | The image tag to use for the NGINX ingress controller. See https://github.com/ku | "v0.44.0@sha256:3dd0fac48073beaca2d67a78 |
| controller_replicas | number | Desired number of replicas of the nginx ingress controller pod | 1 |
| disruption_budget_max_unavailable | string | The maximum unavailability of the nginx deployment | "50%" |
| name | string | The name of this nginx ingress controller | "ingress-nginx" |
Outputs (2)
lb_address — The hostname of the LB created by kubernetesingress_classResources (11)
kubernetes_cluster_rolekubernetes_cluster_role_bindingkubernetes_config_mapkubernetes_deploymentkubernetes_limit_rangekubernetes_namespacekubernetes_pod_disruption_budgetkubernetes_rolekubernetes_role_bindingkubernetes_servicekubernetes_service_account
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.1
Cloud KUBERNETES
★ Stars11
Forks20
Total downloads9.4k
Inputs10
Outputs2
Resources11
LicenseApache-2.0
Namespacebyuoitav
Updated