Skip to content

Commit a5c801b

Browse files
OguzPastirmacihyder
authored andcommitted
Add npn changes to instance config
1 parent e70d3b1 commit a5c801b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/workers/instanceconfig.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ resource "oci_core_instance_configuration" "workers" {
6161
secondary_vnics = jsonencode(lookup(each.value, "secondary_vnics", {}))
6262
ssh_authorized_keys = var.ssh_public_key
6363
user_data = lookup(lookup(data.cloudinit_config.workers, each.key, {}), "rendered", "")
64+
oke-native-pod-networking = var.cni_type == "npn" ? true : false
65+
oke-max-pods = var.max_pods_per_node
66+
pod-subnets = try(module.network.pod_subnet_id, "")
6467
},
6568

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

0 commit comments

Comments
 (0)