diff --git a/config.tfvars b/config.tfvars index 9c50b8ef..8e8f5ca5 100644 Binary files a/config.tfvars and b/config.tfvars differ diff --git a/stacks/monitoring/modules/monitoring/snmp_exporter.tf b/stacks/monitoring/modules/monitoring/snmp_exporter.tf index 07eaf39a..a687c9a5 100644 --- a/stacks/monitoring/modules/monitoring/snmp_exporter.tf +++ b/stacks/monitoring/modules/monitoring/snmp_exporter.tf @@ -128,3 +128,15 @@ module "snmp-exporter-ingress" { ssl_redirect = false port = 9116 } +module "snmp-exporter-ingress-external" { + source = "../../../../modules/kubernetes/ingress_factory" + namespace = kubernetes_namespace.monitoring.metadata[0].name + name = "snmp-exporter-external" + service_name = "snmp-exporter" + root_domain = "viktorbarzin.me" + tls_secret_name = var.tls_secret_name + allow_local_access_only = false + ssl_redirect = false + port = 9116 + protected = false +} diff --git a/stacks/platform/modules/monitoring/snmp_exporter.tf b/stacks/platform/modules/monitoring/snmp_exporter.tf index a4dea38a..3c9f1d1b 100644 --- a/stacks/platform/modules/monitoring/snmp_exporter.tf +++ b/stacks/platform/modules/monitoring/snmp_exporter.tf @@ -132,3 +132,15 @@ module "snmp-exporter-ingress" { ssl_redirect = false port = 9116 } + +module "snmp-exporter-ingress-external" { + source = "../../../../modules/kubernetes/ingress_factory" + namespace = kubernetes_namespace.monitoring.metadata[0].name + name = "snmp-exporter-external" + root_domain = "viktorbarzin.me" + tls_secret_name = var.tls_secret_name + allow_local_access_only = false + ssl_redirect = false + port = 9116 + protected = false +}