cryostatio / cryostat-operator

A Kubernetes Operator to facilitate the setup and management of Cryostat.
https://cryostat.io
Apache License 2.0
33 stars 20 forks source link

fix(watch): enqueue CR when target namespace is deleted #950

Closed ebaron closed 2 months ago

ebaron commented 2 months ago

Welcome to Cryostat! 👋

Before contributing, make sure you have:

Fixes: #941

Description of the change:

Motivation for the change:

How to manually test:

  1. Create a multi-namespace Cryostat CR a. Delete a role binding and/or secret within the target namespace. b. Observe the operator recreating the deleted object.
  2. Delete the entire target namespace a. The operator should fail to reconcile the CR b. Recreate the namespace c. The operator should successfully reconcile, and recreate the missing objects
  3. Delete the entire target namespace again a. The operator should fail to reconcile the CR b. Remove the deleted namespace from the CR's spec c. The operator should successfully reconcile
ebaron commented 2 months ago

/build_test

github-actions[bot] commented 2 months ago

/build_test : At least one test failed ❌. View Actions Run.

ebaron commented 2 months ago

/build_test : At least one test failed ❌. View Actions Run.

Looks like a timeout, going to try again

ebaron commented 2 months ago

/build_test

github-actions[bot] commented 2 months ago

/build_test completed successfully ✅. View Actions Run.