Skip to content

Commit 84e5d85

Browse files
authored
Minor fixes (#1054)
Mix cp stateless rule & force action for nodepools
1 parent bdd1212 commit 84e5d85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/network/nsg-controlplane.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ locals {
123123
protocol = local.tcp_protocol, destination_port_min = local.apiserver_port, destination_port_max = local.apiserver_port, source = local.operator_nsg_id, source_type = local.rule_type_nsg, stateless = true
124124
},
125125
"Allow TCP egress from kube-apiserver to operator instance" : {
126-
protocol = local.tcp_protocol, source_port_min = local.apiserver_port, source_port_max = local.apiserver_port, source = local.operator_nsg_id, source_type = local.rule_type_nsg, stateless = true
126+
protocol = local.tcp_protocol, source_port_min = local.apiserver_port, source_port_max = local.apiserver_port, destination = local.operator_nsg_id, destination_type = local.rule_type_nsg, stateless = true
127127
},
128128
} : {},
129129
local.pod_nsg_enabled ? {

modules/workers/nodepools.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ resource "oci_containerengine_node_pool" "autoscaled_workers" {
247247
format("PT%dS", each.value.eviction_grace_duration)
248248
)
249249
is_force_delete_after_grace_duration = tobool(each.value.force_node_delete)
250+
is_force_action_after_grace_duration = tobool(each.value.force_node_action)
250251
}
251252

252253
dynamic "node_shape_config" {

0 commit comments

Comments
 (0)