fix: make sure demo works on both local & remote target #107
| @ -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": [ | ||||
|                   { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user