nginxinc / kubernetes-ingress

NGINX and NGINX Plus Ingress Controllers for Kubernetes
https://docs.nginx.com/nginx-ingress-controller
Apache License 2.0
4.63k stars 1.96k forks source link

Add status field in GlobalConfiguration custom resource #5407

Open vepatel opened 5 months ago

vepatel commented 5 months ago

Currently the GlobalConfiguration resource does not display any kind of Status field. In scenarios where a TransportServer or VirtualServer resource relies on the content in a GlobalConfiguration resource, it is useful to know if the GlobalConfiguration resource itself is miss-configured by checking the status of that GlobalConfiguration resource, rather than viewing the error in either the TransportServer or VirtualServer resource.

This update would allow an operations user to better debug a miss configured GlobalConfiguration resource on their own.

### Tasks
- [ ] Investigate how to add status to GC
- [ ] Update/Add pytests to assert GC status for those tests which currently test for events
github-actions[bot] commented 5 months ago

Hi @vepatel thanks for reporting!

Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this :slightly_smiling_face:

Cheers!