start network policy
This commit is contained in:
parent
7c809bf18a
commit
045954f8d3
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user