Skip to content

Commit be46627

Browse files
OguzPastirmacihyder
authored andcommitted
Update pod-subnet
1 parent 358db71 commit be46627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/workers/instanceconfig.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ resource "oci_core_instance_configuration" "workers" {
6363
user_data = lookup(lookup(data.cloudinit_config.workers, each.key, {}), "rendered", "")
6464
oke-native-pod-networking = var.cni_type == "npn" ? true : false
6565
oke-max-pods = var.max_pods_per_node
66-
pod-subnets = try(module.network.pod_subnet_id, "")
66+
pod-subnets = coalesce(var.pod_subnet_id, var.worker_subnet_id, "none")
6767
},
6868

6969
# Only provide cluster DNS service address if set explicitly; determined automatically in practice.

0 commit comments

Comments
 (0)