Skip to content

Commit

Permalink
Fix OKE CP NSG issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robo-cap authored and hyder committed Nov 8, 2024
1 parent 58006ae commit 51273fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/network/nsg-controlplane.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ locals {
},
"Allow TCP egress from OKE control plane to pods" : {
protocol = local.tcp_protocol, port = local.all_ports, destination = local.pod_nsg_id, destination_type = local.rule_type_nsg,
},
"Allow TCP ingress from pods to kube-apiserver" : {
protocol = local.tcp_protocol, port = local.oke_port, source = local.pod_nsg_id, source_type = local.rule_type_nsg,
},
}
} : {},
(var.allow_bastion_cluster_access && local.bastion_nsg_enabled) ? {
"Allow TCP ingress to kube-apiserver from bastion host" = {
Expand Down

0 comments on commit 51273fe

Please sign in to comment.