Commit 06e3f39a by chenxx

update

1 parent 3b79d949
Showing 1 changed file with 10 additions and 1 deletions
......@@ -84,7 +84,7 @@ module "ingress" {
rule = [
{
domain = var.ingress_switch.domain_name
external_port = var.port[0] // Service port
external_port = var.port // Service port
path = var.ingress_switch.path
path_type = var.ingress_switch.path_type
}
......@@ -92,6 +92,15 @@ module "ingress" {
}
data "kubernetes_service" "service" {
depends_on = [module.service]
metadata {
name = local.name
namespace = local.namespace
}
}
locals {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!