Skip to content

Commit 7148cde

Browse files
committed
quick fix 0.8.4
Signed-off-by: junior <junior@users.noreply.github.com>
1 parent 0f69c0a commit 7148cde

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.3
1+
0.8.4

defaults.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
################################################################################
2121
locals {
2222
deploy_id = random_string.deploy_id.result
23-
deploy_tags = { "DeploymentID" = local.deploy_id, "AppName" = local.app_name, "Quickstart" = "oke_base" }
23+
deploy_tags = { "DeploymentID" = local.deploy_id, "AppName" = local.app_name, "Quickstart" = "terraform-oci-oke-quickstart" }
2424
oci_tag_values = {
2525
"freeformTags" = merge(var.tag_values.freeformTags, local.deploy_tags),
2626
"definedTags" = var.tag_values.definedTags

examples/basic-cluster/oke.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module "oke-quickstart" {
1111
app_name = "Basic"
1212

1313
# Freeform Tags + Defined Tags. Tags are applied to all resources.
14-
tag_values = { "freeformTags" = { "Environment" = "Development", "DeploymentType" = "basic" }, "definedTags" = {} }
14+
tag_values = { "freeformTags" = { "Environment" = "Development", "DeploymentType" = "basic", "QuickstartExample" = "basic-cluster" }, "definedTags" = {} }
1515

1616
# OKE Node Pool 1 arguments
1717
node_pool_cni_type_1 = "FLANNEL_OVERLAY" # Use "OCI_VCN_IP_NATIVE" for VCN Native PODs Network. If the node pool 1 uses the OCI_VCN_IP_NATIVE, the cluster will also be configured with same cni

main.tf

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ locals {
408408
udp_options = { max = -1, min = -1, source_port_range = null }
409409
icmp_options = null
410410
}, {
411-
description = "Path discovery"
411+
description = "Path discovery - Kubernetes API Endpoint"
412412
source = lookup(local.network_cidrs, "ENDPOINT-REGIONAL-SUBNET-CIDR")
413413
source_type = "CIDR_BLOCK"
414414
protocol = local.security_list_ports.icmp_protocol_number
@@ -417,6 +417,15 @@ locals {
417417
udp_options = { max = -1, min = -1, source_port_range = null }
418418
icmp_options = { type = "3", code = "4" }
419419
}, {
420+
description = "Path discovery"
421+
source = lookup(local.network_cidrs, "ALL-CIDR")
422+
source_type = "CIDR_BLOCK"
423+
protocol = local.security_list_ports.icmp_protocol_number
424+
stateless = false
425+
tcp_options = { max = -1, min = -1, source_port_range = null }
426+
udp_options = { max = -1, min = -1, source_port_range = null }
427+
icmp_options = { type = "3", code = "4" }
428+
}, {
420429
description = "Load Balancer to Worker nodes node ports"
421430
source = lookup(local.network_cidrs, "LB-REGIONAL-SUBNET-CIDR")
422431
source_type = "CIDR_BLOCK"
@@ -435,7 +444,7 @@ locals {
435444
description = "Allow traffic to worker nodes"
436445
destination = lookup(local.network_cidrs, "ALL-CIDR")
437446
destination_type = "CIDR_BLOCK"
438-
protocol = local.security_list_ports.tcp_protocol_number # all_protocols
447+
protocol = local.security_list_ports.all_protocols
439448
stateless = false
440449
tcp_options = { max = 32767, min = 30000, source_port_range = null }
441450
udp_options = { max = -1, min = -1, source_port_range = null }

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ variable "cluster_load_balancer_visibility" {
9494
}
9595
}
9696
variable "pods_network_visibility" {
97-
default = "Public"
97+
default = "Private"
9898
description = "The PODs that are created will be hosted on a public subnet with a public IP address auto-assigned or on a private subnet. This affects the Kubernetes services and pods"
9999

100100
validation {

0 commit comments

Comments
 (0)