solo-io / gloo

The Cloud-Native API Gateway and AI Gateway
https://docs.solo.io/
Apache License 2.0
4.1k stars 446 forks source link

Glooctl check reports errors for resources that depend upon resources excluded with -x #8301

Open jbohanon opened 1 year ago

jbohanon commented 1 year ago

Gloo Edge Version

1.15.x (beta)

Kubernetes Version

None

Describe the bug

glooctl check -x upstreams will cause errors to be reported on VirtualServices that do not appear if the exclude is omitted

Steps to reproduce the bug

  1. Install gloo via Hello World example https://docs.solo.io/gloo-edge/main/guides/traffic_management/hello_world/
  2. Run glooctl check to see all OK
  3. Run glooctl check -x upstreams and see errors present in Virtual Services

Expected Behavior

glooctl check does not error for valid resources that depend upon resources which have been skipped

Additional Context

No response

github-actions[bot] commented 4 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.