Open gperanich opened 1 year ago
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
What happened?
Description
Using OpenShift 4.12
In our Mesh deployment, users can selectively bringing services into the mesh via labeling Deployments, as if they do not want to label an entire project (namespace).
When the user deletes the OCP project (namespace), the NAD created in that project is also deleted. When they create a new project (namespace), no NAD as the project is not labeled for sidecar-injection. As a result, the Mesh will fail to resolve the CNI.
Ideally deployments that are labeled for sidecar-injection should be able to reconcile the NAD, similar to how it is done for namespaces today: https://github.com/kumahq/kuma/blob/0976072d8cdbf54502d3c3b2d80c57e0071a14f1/pkg/plugins/runtime/k8s/controllers/namespace_controller.go#L67C18-L67C18