start network policy
All checks were successful
Run Check Script / check (push) Successful in 1m50s
Run Check Script / check (pull_request) Successful in 1m46s

This commit is contained in:
Taha Hawa 2025-05-29 18:06:16 -04:00
parent 7c809bf18a
commit 045954f8d3

View File

@ -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(