antrea icon indicating copy to clipboard operation
antrea copied to clipboard

NetworkPolicy status support - Feature Request

Open rikatz opened this issue 2 years ago • 2 comments

Describe the problem/challenge you have Kubernetes v1.24 will start supporting condition status in Network Policy API (alpha and feature gate'd)

It would be great if Antrea supports this field to provide feedback for users whether the Network Policy could be parsed, and if not the reason (lack of feature, some error, etc)

Describe the solution you'd like

  • Update client-go to v1.24 when it's released
  • Provide feedback on the Network Policy parsing as part of the policy status

Anything else you would like to add?

rikatz avatar Mar 29 '22 17:03 rikatz

We have upgraded client-go to v0.24, so if someone wants to work on that issue, it should be straightforward

antoninbas avatar May 17 '22 23:05 antoninbas

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days

github-actions[bot] avatar Aug 16 '22 00:08 github-actions[bot]

I see that the plan is to undo this in upstream K8s: https://github.com/kubernetes/enhancements/issues/2943#issuecomment-1372532289

So we probably do not want to implement this at this time. cc @Dyanngg

antoninbas avatar Jan 05 '23 18:01 antoninbas

Yes that's correct. We are undoing this in upstream.

Thanks @antoninbas

rikatz avatar Jan 05 '23 19:01 rikatz