From 6dd38f082e4f09131381a6b5dbab07d1ce162d46 Mon Sep 17 00:00:00 2001 From: Ian Letourneau Date: Thu, 14 Aug 2025 15:21:55 -0400 Subject: [PATCH] restore k8s network policy (temp) --- harmony/src/domain/topology/tenant/k8s.rs | 46 +++++++++++------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/harmony/src/domain/topology/tenant/k8s.rs b/harmony/src/domain/topology/tenant/k8s.rs index dd6870a..f2edb05 100644 --- a/harmony/src/domain/topology/tenant/k8s.rs +++ b/harmony/src/domain/topology/tenant/k8s.rs @@ -218,29 +218,29 @@ impl K8sTenantManager { } ] }, - // { - // "to": [ - // { - // "ipBlock": { - // "cidr": "10.43.0.1/32", - // } - // } - // ] - // }, - // { - // "to": [ - // { - // //TODO this ip is from the docker network that k3d is running on - // //since k3d does not deploy kube-api-server as a pod it needs to ahve the ip - // //address opened up - // //need to find a way to automatically detect the ip address from the docker - // //network - // "ipBlock": { - // "cidr": "172.18.0.0/16", - // } - // } - // ] - // }, + { + "to": [ + { + "ipBlock": { + "cidr": "10.43.0.1/32", + } + } + ] + }, + { + "to": [ + { + //TODO this ip is from the docker network that k3d is running on + //since k3d does not deploy kube-api-server as a pod it needs to ahve the ip + //address opened up + //need to find a way to automatically detect the ip address from the docker + //network + "ipBlock": { + "cidr": "172.18.0.0/16", + } + } + ] + }, { "to": [ {