Commit c2c00fb6 by chenxx

update

1 parent a3125367
Showing 1 changed file with 8 additions and 6 deletions
......@@ -12,8 +12,8 @@ module "deployment" {
#
wait_for_rollout = false
source = "terraform-iaac/deployment/kubernetes"
version = "1.4.2"
source = "git::http://192.168.3.233:8090/terraform_module/terraform-kubernetes-deployment.git"
version = "1.4.3"
name = local.name
namespace = local.namespace
......@@ -37,7 +37,7 @@ module "deployment" {
initial_delay_seconds = 10
period_seconds = 30
timeout_seconds = 3
}
}
volume_host_path = [
{
......@@ -54,19 +54,21 @@ module "deployment" {
module "service" {
source = "terraform-iaac/service/kubernetes"
source = "git::http://192.168.3.233:8090/terraform_module/terraform-kubernetes-service.git"
version = "1.0.4"
app_name = local.name
app_namespace = local.namespace
type = "NodePort"
port_mapping = [for p in var.ports :
port_mapping = [
for p in var.ports :
{
name = "port-${p}"
internal_port = p
external_port = p
protocol = "TCP"
}]
}
]
}
data "kubernetes_service" "service" {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!