We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a84e68 commit ffd9b1dCopy full SHA for ffd9b1d
modules/workers/instanceconfig.tf
@@ -64,7 +64,7 @@ resource "oci_core_instance_configuration" "workers" {
64
oke-native-pod-networking = var.cni_type == "npn" ? true : false
65
oke-max-pods = var.max_pods_per_node
66
pod-subnets = coalesce(var.pod_subnet_id, var.worker_subnet_id, "none")
67
- pod-nsgids = join(",", each.value.pod_nsg_ids)
+ pod-nsgids = var.cni_type == "npn" ? join(",", each.value.pod_nsg_ids) : null
68
},
69
70
# Only provide cluster DNS service address if set explicitly; determined automatically in practice.
0 commit comments