ingress

ballj/ingress/kubernetes

Terraform Module HCL KUBERNETES

Creates an ingress resource and registers the name in DNS

Install
module "ingress" {
source = "ballj/ingress/kubernetes"
version = "2.0.1"
}
plain text: /constructs/tfmod-ballj-ingress-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Kubernetes Ingress This terraform module deploys an ingress on kubernetes, updates DNS (PowerDNS) and adds to monitoring (Icinga2). Deployment `` module "ingress" { source = "ballj/ingress/kubernetes" version = "~> 1.0" namespace = "production" object_prefix = "nginx" dns_fqdn = "nginx.example.com" dns_zone = "example.com" service_name = "nginx" service_port = 80 cert_issuer_type = "cluster-issuer" cert_issuer_name = "self-signed" labels = { "app.kubernetes.io/name" = "nginx" "app.kubernetes.io/instance" = "latest" "app.kubernetes.io/part-of" = "nginx" } } ` Providers This module uses the following Terraform providers: - pan-net/PowerDNS - Kubernetes Variables | Variable | Required | Default | Description | | --------------------- | -------- | ------- | --------------------------

Inputs (13)
NameTypeDescriptionDefault
object_prefixstringUnique name to prefix all objects with required
dns_fqdnanyDNS FQDN of the application required
dns_zonestringDNS Zone name of the application required
namespacestringEnvironment that the application will be deployed in required
service_namestringService to target required
tls_enabledboolEnable TLS on ingresstrue
dns_record_ttlnumberTTL for DNS records600
labelsmap(string)labels to add to ingress{}
service_portnumberPort for the ingress80
ingress_classstringIngress class to use"traefik"
ingress_annotationsmap(string)Annotations to add to ingress{}
cert_issuer_typestringIssuer type for cert-manager"issuer"
cert_issuer_namestringIssuer name for cert-manager"self-signed"
Resources (3)
kubernetes_ingress_v1kubernetes_secretpowerdns_record
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.1
Cloud KUBERNETES
★ Stars3
Forks4
Total downloads9.2k
Inputs13
Resources3
Namespaceballj
Updated