work on the node port
This commit is contained in:
+1
-5
@@ -23,14 +23,10 @@ resource "kubernetes_service_v1" "automatic_service" {
|
||||
port = port.value
|
||||
target_port = port.value
|
||||
name = replace("${port.value}${each.key}", "/(.{0,15})(.*)/", "$1")
|
||||
|
||||
node_port = port.value
|
||||
}
|
||||
}
|
||||
|
||||
# port {
|
||||
# port = each.value.service_port
|
||||
# target_port = each.value.service_port
|
||||
# }
|
||||
type = each.value.service_type
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user