TenantManager_impl_k8s_anywhere #47
@ -71,6 +71,21 @@ impl TenantManager for K8sTenantManager {
 | 
				
			|||||||
         }
 | 
					         }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        let network_policy = json!({
 | 
				
			||||||
 | 
					          "apiVersion": "networking.k8s.io/v1",
 | 
				
			||||||
 | 
					          "kind": "NetworkPolicy",
 | 
				
			||||||
 | 
					          "metadata": {
 | 
				
			||||||
 | 
					              "name": format!("{}-network-policy", config.name),
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "spec": {
 | 
				
			||||||
 | 
					            "podSelector": {},
 | 
				
			||||||
 | 
					            "egress": [],
 | 
				
			||||||
 | 
					            "ingress": [],
 | 
				
			||||||
 | 
					            "policyTypes": [
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async fn update_tenant_resource_limits(
 | 
					    async fn update_tenant_resource_limits(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user