@@ -52,38 +52,6 @@ resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_worker
5252 }
5353}
5454
55- resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_https_ingress" {
56- direction = " INGRESS"
57- network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
58- protocol = " 6"
59- source_type = " CIDR_BLOCK"
60- source = " 0.0.0.0/0"
61- stateless = true
62- description = " Allow https traffic - stateless Ingress"
63- tcp_options {
64- destination_port_range {
65- max = 443
66- min = 443
67- }
68- }
69- }
70-
71- resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_https_egress" {
72- direction = " EGRESS"
73- network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
74- protocol = " 6"
75- destination_type = " CIDR_BLOCK"
76- destination = " 0.0.0.0/0"
77- stateless = true
78- description = " Allow https traffic - stateless egress"
79- tcp_options {
80- source_port_range {
81- max = 443
82- min = 443
83- }
84- }
85- }
86-
8755resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_pods_egress" {
8856 direction = " EGRESS"
8957 network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
@@ -106,38 +74,6 @@ resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_pods_i
10674 count = local. is_npn ? 1 : 0
10775}
10876
109- resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_http_ingress" {
110- direction = " INGRESS"
111- network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
112- protocol = " 6"
113- source_type = " CIDR_BLOCK"
114- source = " 0.0.0.0/0"
115- stateless = true
116- description = " Allow http traffic - stateless Ingress"
117- tcp_options {
118- destination_port_range {
119- max = 80
120- min = 80
121- }
122- }
123- }
124-
125- resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_http_egress" {
126- direction = " EGRESS"
127- network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
128- protocol = " 6"
129- destination_type = " CIDR_BLOCK"
130- destination = " 0.0.0.0/0"
131- stateless = true
132- description = " Allow http traffic - stateless egress"
133- tcp_options {
134- source_port_range {
135- max = 80
136- min = 80
137- }
138- }
139- }
140-
14177resource "oci_core_network_security_group_security_rule" "oke_lb_nsg_rule_worker_discovery_egress" {
14278 direction = " EGRESS"
14379 network_security_group_id = oci_core_network_security_group. oke_lb_nsg . id
0 commit comments