gke-policy-automation icon indicating copy to clipboard operation
gke-policy-automation copied to clipboard

Tool should not fail on a discovered cluster that does not exist

Open mikouaj opened this issue 2 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Debug Output

N/A

Panic Output

N/A

Steps to Reproduce

  1. Create new GKE cluster
  2. Wait and ensure that GKE Cluster is visible in Assent Inventory
  3. Delete GKE cluster
  4. Run the tool

Expected Behavior

The tool produces warning. If there is more than one cluster to process, the remaining clusters are checked.

Actual Behavior

The tool produces an error and exists with system code 1. If there are multiple clusters to check, there is a high chance that not all of them will be processed.

References

N/A

mikouaj avatar Aug 03 '22 14:08 mikouaj